Update actions (#1280)

This commit is contained in:
project516
2026-05-08 18:34:09 -05:00
committed by GitHub
parent e744ed8b67
commit 9223da751d
5 changed files with 38 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ jobs:
UPSTREAM_CHANNEL: "nightly" UPSTREAM_CHANNEL: "nightly"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
@@ -54,13 +54,13 @@ jobs:
echo "MARKETING_VERSION=$NORMALIZED_VERSION" | tee -a $GITHUB_ENV echo "MARKETING_VERSION=$NORMALIZED_VERSION" | tee -a $GITHUB_ENV
- name: Setup Xcode - name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1.6.0 uses: maxim-lobanov/setup-xcode@v1.7.0
with: with:
xcode-version: "26.2" xcode-version: "26.2"
- name: Restore Cache (exact) - name: Restore Cache (exact)
id: xcode-cache-exact id: xcode-cache-exact
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -70,7 +70,7 @@ jobs:
- name: Restore Cache (last) - name: Restore Cache (last)
if: steps.xcode-cache-exact.outputs.cache-hit != 'true' if: steps.xcode-cache-exact.outputs.cache-hit != 'true'
id: xcode-cache-fallback id: xcode-cache-fallback
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -119,7 +119,7 @@ jobs:
- name: Save Cache - name: Save Cache
if: ${{ steps.xcode-cache-fallback.outputs.cache-hit != 'true' }} if: ${{ steps.xcode-cache-fallback.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v3 uses: actions/cache/save@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -141,12 +141,12 @@ jobs:
# -------------------------------------------------- # --------------------------------------------------
# artifacts # artifacts
# -------------------------------------------------- # --------------------------------------------------
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: build-logs-${{ env.MARKETING_VERSION }}.zip name: build-logs-${{ env.MARKETING_VERSION }}.zip
path: build-logs.zip path: build-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: > if: >
vars.ENABLE_TESTS == '1' && vars.ENABLE_TESTS == '1' &&
vars.ENABLE_TESTS_BUILD == '1' vars.ENABLE_TESTS_BUILD == '1'
@@ -154,7 +154,7 @@ jobs:
name: tests-build-logs-${{ env.SHORT_COMMIT }}.zip name: tests-build-logs-${{ env.SHORT_COMMIT }}.zip
path: tests-build-logs.zip path: tests-build-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: > if: >
vars.ENABLE_TESTS == '1' && vars.ENABLE_TESTS == '1' &&
vars.ENABLE_TESTS_RUN == '1' vars.ENABLE_TESTS_RUN == '1'
@@ -166,12 +166,12 @@ jobs:
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}.ipa name: SideStore-${{ env.MARKETING_VERSION }}.ipa
path: SideStore.ipa path: SideStore.ipa
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip
path: SideStore.dSYMs.zip path: SideStore.dSYMs.zip
- uses: actions/checkout@v4 - uses: actions/checkout@v7
if: env.DEPLOY_KEY != '' if: env.DEPLOY_KEY != ''
with: with:
repository: "SideStore/apps-v2.json" repository: "SideStore/apps-v2.json"

View File

@@ -24,7 +24,7 @@ jobs:
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@v6 - uses: actions/github-script@v9
with: with:
# This snippet is public-domain, taken from # This snippet is public-domain, taken from
# https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml # https://github.com/oprypin/nightly.link/blob/master/.github/workflows/pr-comment.yml

View File

@@ -22,7 +22,7 @@ jobs:
UPSTREAM_CHANNEL: "" UPSTREAM_CHANNEL: ""
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
@@ -78,14 +78,14 @@ jobs:
- name: Setup Xcode - name: Setup Xcode
if: steps.build_gate.outputs.should_skip != 'true' if: steps.build_gate.outputs.should_skip != 'true'
uses: maxim-lobanov/setup-xcode@v1.6.0 uses: maxim-lobanov/setup-xcode@v1.7.0
with: with:
xcode-version: "26.4" xcode-version: "26.4"
- name: Restore Cache (exact) - name: Restore Cache (exact)
if: steps.build_gate.outputs.should_skip != 'true' if: steps.build_gate.outputs.should_skip != 'true'
id: xcode-cache-exact id: xcode-cache-exact
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -97,7 +97,7 @@ jobs:
steps.build_gate.outputs.should_skip != 'true' && steps.build_gate.outputs.should_skip != 'true' &&
steps.xcode-cache-exact.outputs.cache-hit != 'true' steps.xcode-cache-exact.outputs.cache-hit != 'true'
id: xcode-cache-fallback id: xcode-cache-fallback
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -151,7 +151,7 @@ jobs:
if: > if: >
steps.build_gate.outputs.should_skip != 'true' && steps.build_gate.outputs.should_skip != 'true' &&
steps.xcode-cache-fallback.outputs.cache-hit != 'true' steps.xcode-cache-fallback.outputs.cache-hit != 'true'
uses: actions/cache/save@v3 uses: actions/cache/save@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -174,13 +174,13 @@ jobs:
# -------------------------------------------------- # --------------------------------------------------
# artifacts # artifacts
# -------------------------------------------------- # --------------------------------------------------
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: steps.build_gate.outputs.should_skip != 'true' if: steps.build_gate.outputs.should_skip != 'true'
with: with:
name: build-logs-${{ env.MARKETING_VERSION }}.zip name: build-logs-${{ env.MARKETING_VERSION }}.zip
path: build-logs.zip path: build-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: > if: >
steps.build_gate.outputs.should_skip != 'true' && steps.build_gate.outputs.should_skip != 'true' &&
vars.ENABLE_TESTS == '1' && vars.ENABLE_TESTS == '1' &&
@@ -189,7 +189,7 @@ jobs:
name: tests-build-logs-${{ env.SHORT_COMMIT }}.zip name: tests-build-logs-${{ env.SHORT_COMMIT }}.zip
path: tests-build-logs.zip path: tests-build-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: > if: >
steps.build_gate.outputs.should_skip != 'true' && steps.build_gate.outputs.should_skip != 'true' &&
vars.ENABLE_TESTS == '1' && vars.ENABLE_TESTS == '1' &&
@@ -198,18 +198,18 @@ jobs:
name: tests-run-logs-${{ env.SHORT_COMMIT }}.zip name: tests-run-logs-${{ env.SHORT_COMMIT }}.zip
path: tests-run-logs.zip path: tests-run-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: steps.build_gate.outputs.should_skip != 'true' if: steps.build_gate.outputs.should_skip != 'true'
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}.ipa name: SideStore-${{ env.MARKETING_VERSION }}.ipa
path: SideStore.ipa path: SideStore.ipa
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
if: steps.build_gate.outputs.should_skip != 'true' if: steps.build_gate.outputs.should_skip != 'true'
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip
path: SideStore.dSYMs.zip path: SideStore.dSYMs.zip
- uses: actions/checkout@v4 - uses: actions/checkout@v6
if: steps.build_gate.outputs.should_skip != 'true' && env.DEPLOY_KEY != '' if: steps.build_gate.outputs.should_skip != 'true' && env.DEPLOY_KEY != ''
with: with:
repository: "SideStore/apps-v2.json" repository: "SideStore/apps-v2.json"

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: macos-26 runs-on: macos-26
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
fetch-depth: 1 # shallow clone just for PR fetch-depth: 1 # shallow clone just for PR
@@ -33,13 +33,13 @@ jobs:
echo "MARKETING_VERSION=$NORMALIZED_VERSION" | tee -a $GITHUB_ENV echo "MARKETING_VERSION=$NORMALIZED_VERSION" | tee -a $GITHUB_ENV
- name: Setup Xcode - name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1.6.0 uses: maxim-lobanov/setup-xcode@v1.7.0
with: with:
xcode-version: "26.2" xcode-version: "26.2"
- name: Restore Cache (exact) - name: Restore Cache (exact)
id: xcode-cache-exact id: xcode-cache-exact
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -49,7 +49,7 @@ jobs:
- name: Restore Cache (last) - name: Restore Cache (last)
if: steps.xcode-cache-exact.outputs.cache-hit != 'true' if: steps.xcode-cache-exact.outputs.cache-hit != 'true'
id: xcode-cache-fallback id: xcode-cache-fallback
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -67,24 +67,24 @@ jobs:
- name: Save Cache - name: Save Cache
if: ${{ steps.xcode-cache-fallback.outputs.cache-hit != 'true' }} if: ${{ steps.xcode-cache-fallback.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v3 uses: actions/cache/save@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
~/Library/Caches/org.swift.swiftpm ~/Library/Caches/org.swift.swiftpm
key: xcode-build-cache-${{ github.ref_name }}-${{ github.sha }} key: xcode-build-cache-${{ github.ref_name }}-${{ github.sha }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: build-logs-${{ env.MARKETING_VERSION }}.zip name: build-logs-${{ env.MARKETING_VERSION }}.zip
path: build-logs.zip path: build-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}.ipa name: SideStore-${{ env.MARKETING_VERSION }}.ipa
path: SideStore-${{ env.MARKETING_VERSION }}.ipa path: SideStore-${{ env.MARKETING_VERSION }}.ipa
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip
path: SideStore.dSYMs.zip path: SideStore.dSYMs.zip

View File

@@ -21,7 +21,7 @@ jobs:
UPSTREAM_CHANNEL: "" UPSTREAM_CHANNEL: ""
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
@@ -50,13 +50,13 @@ jobs:
echo "SHORT_COMMIT=$SHORT_COMMIT" | tee -a $GITHUB_ENV echo "SHORT_COMMIT=$SHORT_COMMIT" | tee -a $GITHUB_ENV
- name: Setup Xcode - name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1.6.0 uses: maxim-lobanov/setup-xcode@v1.7.0
with: with:
xcode-version: "26.4" xcode-version: "26.4"
- name: Restore Cache (exact) - name: Restore Cache (exact)
id: xcode-cache-exact id: xcode-cache-exact
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -66,7 +66,7 @@ jobs:
- name: Restore Cache (last) - name: Restore Cache (last)
if: steps.xcode-cache-exact.outputs.cache-hit != 'true' if: steps.xcode-cache-exact.outputs.cache-hit != 'true'
id: xcode-cache-fallback id: xcode-cache-fallback
uses: actions/cache/restore@v3 uses: actions/cache/restore@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
@@ -84,24 +84,24 @@ jobs:
- name: Save Cache - name: Save Cache
if: ${{ steps.xcode-cache-fallback.outputs.cache-hit != 'true' }} if: ${{ steps.xcode-cache-fallback.outputs.cache-hit != 'true' }}
uses: actions/cache/save@v3 uses: actions/cache/save@v5
with: with:
path: | path: |
~/Library/Developer/Xcode/DerivedData ~/Library/Developer/Xcode/DerivedData
~/Library/Caches/org.swift.swiftpm ~/Library/Caches/org.swift.swiftpm
key: xcode-build-cache-stable-${{ github.sha }} key: xcode-build-cache-stable-${{ github.sha }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: build-logs-${{ env.MARKETING_VERSION }}.zip name: build-logs-${{ env.MARKETING_VERSION }}.zip
path: build-logs.zip path: build-logs.zip
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}.ipa name: SideStore-${{ env.MARKETING_VERSION }}.ipa
path: SideStore.ipa path: SideStore.ipa
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v7
with: with:
name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip name: SideStore-${{ env.MARKETING_VERSION }}-dSYMs.zip
path: SideStore.dSYMs.zip path: SideStore.dSYMs.zip