diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4abd55e3f4..fc6e231c4b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -133,7 +133,7 @@ jobs:
dotnet-version: "8.0.x"
- name: Install .NET Workloads
- run: dotnet workload install maui-ios
+ run: dotnet workload install ios --from-rollback-file https://raw.githubusercontent.com/ppy/osu-framework/refs/heads/master/workloads.json
- name: Build
run: dotnet build -c Debug osu.iOS
diff --git a/.github/workflows/diffcalc.yml b/.github/workflows/diffcalc.yml
index 9f129a697c..ebf22b8a0e 100644
--- a/.github/workflows/diffcalc.yml
+++ b/.github/workflows/diffcalc.yml
@@ -104,6 +104,25 @@ env:
EXECUTION_ID: execution-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
jobs:
+ master-environment:
+ name: Save master environment
+ runs-on: ubuntu-latest
+ outputs:
+ HEAD: ${{ steps.get-head.outputs.HEAD }}
+ steps:
+ - name: Checkout osu
+ uses: actions/checkout@v4
+ with:
+ ref: master
+ sparse-checkout: |
+ README.md
+
+ - name: Get HEAD ref
+ id: get-head
+ run: |
+ ref=$(git log -1 --format='%H')
+ echo "HEAD=https://github.com/${{ github.repository }}/commit/${ref}" >> "${GITHUB_OUTPUT}"
+
check-permissions:
name: Check permissions
runs-on: ubuntu-latest
@@ -121,7 +140,7 @@ jobs:
create-comment:
name: Create PR comment
- needs: check-permissions
+ needs: [ master-environment, check-permissions ]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request }}
steps:
@@ -158,7 +177,7 @@ jobs:
environment:
name: Setup environment
- needs: directory
+ needs: [ master-environment, directory ]
runs-on: self-hosted
env:
VARS_JSON: ${{ toJSON(vars) }}
@@ -182,6 +201,10 @@ jobs:
fi
done
+ - name: Add master environment
+ run: |
+ sed -i "s;^OSU_A=.*$;OSU_A=${{ needs.master-environment.outputs.HEAD }};" "${{ needs.directory.outputs.GENERATOR_ENV }}"
+
- name: Add pull-request environment
if: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request }}
run: |
@@ -361,8 +384,7 @@ jobs:
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
comment_tag: ${{ env.EXECUTION_ID }}
- mode: upsert
- create_if_not_exists: false
+ mode: recreate
message: |
Target: ${{ needs.generator.outputs.TARGET }}
Spreadsheet: ${{ needs.generator.outputs.SPREADSHEET_LINK }}
@@ -372,8 +394,7 @@ jobs:
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
comment_tag: ${{ env.EXECUTION_ID }}
- mode: upsert
- create_if_not_exists: false
+ mode: recreate
message: |
Difficulty calculation failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
diff --git a/osu.Android.props b/osu.Android.props
index c7ce707562..7844dcc1fe 100644
--- a/osu.Android.props
+++ b/osu.Android.props
@@ -10,7 +10,7 @@
true
-
+
diff --git a/osu.iOS.props b/osu.iOS.props
index bb20125282..9fc7cdf453 100644
--- a/osu.iOS.props
+++ b/osu.iOS.props
@@ -17,6 +17,6 @@
-all
-
+