mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-12-04 15:46:07 +00:00
Revert the temporary no-cache CI commit
Its CI run (46105502143) built every PR CI job the way a published build now runs, without any cache, and passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JAxkkiaGp2k8okvs4MpCUq
This commit is contained in:
1 parent
4a0e363cfe
commit
045cd50485
1 file changed
+24
-24
@@ -136,7 +136,7 @@ jobs:
|
||||
needs: [validate-update-metadata-keys]
|
||||
uses: ./.github/workflows/bridge.yml
|
||||
with:
|
||||
use-cache: false
|
||||
use-cache: ${{ !inputs.upload-artifact }}
|
||||
|
||||
build-RustDeskTempTopMostWindow:
|
||||
needs: [validate-update-metadata-keys]
|
||||
@@ -190,7 +190,7 @@ jobs:
|
||||
}
|
||||
steps:
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -301,7 +301,7 @@ jobs:
|
||||
components: "rustfmt"
|
||||
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
with:
|
||||
prefix-key: ${{ matrix.job.os }}
|
||||
|
||||
@@ -310,7 +310,7 @@ jobs:
|
||||
with:
|
||||
vcpkgDirectory: C:\vcpkg
|
||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
|
||||
doNotCache: true
|
||||
doNotCache: ${{ inputs.upload-artifact }}
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
env:
|
||||
@@ -609,7 +609,7 @@ jobs:
|
||||
# - { target: aarch64-pc-windows-msvc, os: windows-2022 }
|
||||
steps:
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -643,7 +643,7 @@ jobs:
|
||||
rustup default nightly-2023-10-13-${{ matrix.job.target }} --force-non-host
|
||||
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
with:
|
||||
prefix-key: ${{ matrix.job.os }}-sciter
|
||||
|
||||
@@ -652,7 +652,7 @@ jobs:
|
||||
with:
|
||||
vcpkgDirectory: C:\vcpkg
|
||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
|
||||
doNotCache: true
|
||||
doNotCache: ${{ inputs.upload-artifact }}
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
env:
|
||||
@@ -819,7 +819,7 @@ jobs:
|
||||
}
|
||||
steps:
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -851,7 +851,7 @@ jobs:
|
||||
uses: lukka/run-vcpkg@b1a0dd252f06b9e25b3c022a9a03bd7a427fb6a2 # v11
|
||||
with:
|
||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
|
||||
doNotCache: true
|
||||
doNotCache: ${{ inputs.upload-artifact }}
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
run: |
|
||||
@@ -879,7 +879,7 @@ jobs:
|
||||
components: "rustfmt"
|
||||
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
with:
|
||||
prefix-key: rustdesk-lib-cache-ios
|
||||
key: ${{ matrix.job.target }}
|
||||
@@ -953,7 +953,7 @@ jobs:
|
||||
}
|
||||
steps:
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -1066,7 +1066,7 @@ jobs:
|
||||
components: "rustfmt"
|
||||
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
with:
|
||||
prefix-key: ${{ matrix.job.os }}
|
||||
|
||||
@@ -1079,7 +1079,7 @@ jobs:
|
||||
|
||||
- name: Run the Dart tests
|
||||
# x86_64 tests the Flutter 3.24.5 sources most platforms ship, arm64 the patched 3.44 ones.
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
working-directory: flutter
|
||||
run: flutter test --timeout 60s
|
||||
|
||||
@@ -1087,7 +1087,7 @@ jobs:
|
||||
uses: lukka/run-vcpkg@b1a0dd252f06b9e25b3c022a9a03bd7a427fb6a2 # v11
|
||||
with:
|
||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
|
||||
doNotCache: true
|
||||
doNotCache: ${{ inputs.upload-artifact }}
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
run: |
|
||||
@@ -1481,7 +1481,7 @@ jobs:
|
||||
swap-storage: false
|
||||
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -1565,7 +1565,7 @@ jobs:
|
||||
with:
|
||||
vcpkgDirectory: /opt/artifacts/vcpkg
|
||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
|
||||
doNotCache: true
|
||||
doNotCache: ${{ inputs.upload-artifact }}
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
run: |
|
||||
@@ -1608,7 +1608,7 @@ jobs:
|
||||
components: "rustfmt"
|
||||
|
||||
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
with:
|
||||
prefix-key: rustdesk-lib-cache-android # TODO: drop '-android' part after caches are invalidated
|
||||
key: ${{ matrix.job.target }}
|
||||
@@ -1770,7 +1770,7 @@ jobs:
|
||||
swap-storage: false
|
||||
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -1961,7 +1961,7 @@ jobs:
|
||||
}
|
||||
steps:
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -2034,7 +2034,7 @@ jobs:
|
||||
with:
|
||||
vcpkgDirectory: /opt/artifacts/vcpkg
|
||||
vcpkgGitCommitId: ${{ env.VCPKG_COMMIT_ID }}
|
||||
doNotCache: true
|
||||
doNotCache: ${{ inputs.upload-artifact }}
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
if: matrix.job.arch == 'x86_64' || env.UPLOAD_ARTIFACT == 'true'
|
||||
@@ -2087,7 +2087,7 @@ jobs:
|
||||
with:
|
||||
arch: ${{ matrix.job.arch }}
|
||||
distro: ${{ matrix.job.distro }}
|
||||
githubToken: ''
|
||||
githubToken: ${{ !inputs.upload-artifact && github.token || '' }}
|
||||
setup: |
|
||||
ls -l "${PWD}"
|
||||
ls -l /opt/artifacts/vcpkg/installed
|
||||
@@ -2406,7 +2406,7 @@ jobs:
|
||||
}
|
||||
steps:
|
||||
- name: Export GitHub Actions cache environment variables
|
||||
if: ${{ false }}
|
||||
if: ${{ !inputs.upload-artifact }}
|
||||
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
|
||||
with:
|
||||
script: |
|
||||
@@ -2455,7 +2455,7 @@ jobs:
|
||||
with:
|
||||
arch: ${{ matrix.job.arch }}
|
||||
distro: ${{ matrix.job.distro }}
|
||||
githubToken: ''
|
||||
githubToken: ${{ !inputs.upload-artifact && github.token || '' }}
|
||||
setup: |
|
||||
ls -l "${PWD}"
|
||||
dockerRunArgs: |
|
||||
@@ -2727,7 +2727,7 @@ jobs:
|
||||
with:
|
||||
arch: ${{ matrix.job.arch }}
|
||||
distro: ${{ matrix.job.distro }}
|
||||
githubToken: ''
|
||||
githubToken: ${{ !inputs.upload-artifact && github.token || '' }}
|
||||
setup: |
|
||||
ls -l "${PWD}"
|
||||
dockerRunArgs: |
|
||||
|
||||
Reference in new issue
Block a user