Skip to content

Commit

Permalink
Merge pull request #5970 from BOINC/vko_update_action
Browse files Browse the repository at this point in the history
[ci] update actions
  • Loading branch information
AenBleidd authored Dec 22, 2024
2 parents 639e95e + 9f1b413 commit 8576292
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 46 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: android_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z

- name: Upload client on success
if: ${{ success() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: android_client_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: android/BOINC/app/src/main/assets/
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
path: android/BOINC/app/src/main/assets/

- name: Setup Java
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b
with:
distribution: 'zulu'
java-version: "17"
Expand All @@ -151,7 +151,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: android_logs_manager_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -160,36 +160,36 @@ jobs:
run: python ./deploy/prepare_deployment.py android_manager

- name: Upload generic artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ matrix.task == 'assembleRelease' }}
with:
name: android_manager_${{ github.event.pull_request.head.sha }}
path: deploy/android_manager.7z

- name: Upload xiaomi manager
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ matrix.task == 'assembleXiaomi_release' }}
with:
name: android_xiaomi_manager_${{ github.event.pull_request.head.sha }}
path: deploy/android_manager_xiaomi.7z

- name: Upload armv6 only manager
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ matrix.task == 'assembleArmv6_release' }}
with:
name: android_armv6_manager_${{ github.event.pull_request.head.sha }}
path: deploy/android_manager_armv6.7z

- name: Upload JUnit Tests Results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ always() && matrix.task == 'jacocoTestReportDebug' }}
with:
name: Android_tests_results
path: android/BOINC/app/build/test-results/testDebugUnitTest/TEST-*.xml

- name: Upload coverage report
if: ${{ matrix.task == 'jacocoTestReportDebug' }}
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: android_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -254,7 +254,7 @@ jobs:
run: python ./deploy/prepare_deployment.py android_${{ matrix.type }}

- name: Upload generic artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ ! contains(matrix.type, 'libs') }}
with:
name: android_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux-package-stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
cd ${{ github.workspace }}/.github/workflows/debrepo/
./repo_update.sh "$ALLOW_CREATE" ${{ env.BASEREPO }} ${{ github.workspace }} ${{ matrix.os }} "stable" ${{ env.PUBKEY }}
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ success() && env.SKIP_RUN == 0 }}
with:
name: repo-stable-${{ matrix.os }}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
# Updates or creates the repository
./repo_update.sh "$ALLOW_CREATE" ${{ env.BASEREPO }} ${CWD} ${{ matrix.os }} "stable" ${{ env.PUBKEY }} ${{ env.PUBKEY_HASH }} ${{ env.ARCH }}
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ success() && env.SKIP_RUN == 0 }}
with:
name: repo-stable-${{ matrix.os }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linux-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: linux-package_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -118,7 +118,7 @@ jobs:
run: python3 ./deploy/prepare_deployment.py linux_${{ matrix.type }}

- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: success()
with:
name: linux-package_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
dpkg-deb --info "${{ github.workspace }}/${PKG_FULL}.deb"
- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: success()
with:
name: linux-package_${{ matrix.type }}_${{ matrix.os }}_${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -592,7 +592,7 @@ jobs:
rpm -qp --qf '%|DSAHEADER?{%{DSAHEADER:pgpsig}}:{%|RSAHEADER?{%{RSAHEADER:pgpsig}}:{(none)}|}|\n' "RPMS/${{ env.ARCH }}/${PKG_FULL}.rpm"
- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: success()
with:
name: linux-package_${{ matrix.type }}_${{ matrix.os }}_${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -974,7 +974,7 @@ jobs:
cd ${{ github.workspace }}/.github/workflows/debrepo/
./repo_update.sh "$ALLOW_CREATE" ${{ env.BASEREPO }} ${{ github.workspace }} ${{ matrix.os }} ${{ env.RELEASE_TYPE }} ${{ env.PUBKEY }}
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ success() && env.SKIP_RUN == 0 }}
with:
name: repo-${{ env.RELEASE_TYPE }}-${{ matrix.os }}
Expand Down Expand Up @@ -1077,7 +1077,7 @@ jobs:
# Updates or creates the repository
./repo_update.sh "$ALLOW_CREATE" ${{ env.BASEREPO }} ${CWD} ${{ matrix.os }} ${{ env.RELEASE_TYPE }} ${{ env.PUBKEY }} ${{ env.PUBKEY_HASH }} ${{ env.ARCH }}
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ success() && env.SKIP_RUN == 0 }}
with:
name: repo-${{ env.RELEASE_TYPE }}-${{ matrix.os }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: linux_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -181,22 +181,22 @@ jobs:
run: python ./deploy/prepare_deployment.py linux_${{ matrix.type }}

- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ ! contains(matrix.type, 'libs') && ! contains(matrix.type, 'server') && ! contains(matrix.type, 'test') }}
with:
name: linux_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/linux_${{ matrix.type }}.7z

- name: Upload Google Tests Results
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: always() && matrix.type == 'unit-test' # run this step even if previous step failed
with:
name: Linux_tests_results
path: "tests/gtest/**/*_xml_report.xml"

- name: Upload coverage report
if: success() && matrix.type == 'unit-test'
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: linux_release_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -289,7 +289,7 @@ jobs:
run: python3 ./deploy/prepare_deployment.py linux_apps

- name: Upload wrapper artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: success()
with:
name: linux_release_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: mingw_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -124,7 +124,7 @@ jobs:
run: python ./deploy/prepare_deployment.py win_${{ matrix.type }}

- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{! contains(matrix.type, 'libs')}}
with:
name: win_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: osx_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -100,27 +100,27 @@ jobs:

- name: Upload manager
if: matrix.type == 'manager'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: osx_manager_${{ github.event.pull_request.head.sha }}
path: deploy/macos_manager.7z

- name: Upload apps
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: osx_${{ matrix.type }}_apps_${{ github.event.pull_request.head.sha }}
path: deploy/macos_apps.7z

- name: Upload x86_64 apps
if: matrix.type == 'samples-makefile'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: osx_x86_64_apps_${{ github.event.pull_request.head.sha }}
path: deploy/macos_apps_x86_64.7z

- name: Upload arm64 apps
if: matrix.type == 'samples-makefile'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: osx_arm64_apps_${{ github.event.pull_request.head.sha }}
path: deploy/macos_apps_arm64.7z
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: osx_logs_cmake-build_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
4 changes: 2 additions & 2 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: snap_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -125,7 +125,7 @@ jobs:
run: python ./deploy/prepare_deployment.py linux_snap

- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: success()
with:
name: linux_snap_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
git diff > update_actions.patch
- name: Upload patch
if: failure()
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: update_actions.patch
path: update_actions.patch
4 changes: 2 additions & 2 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: wasm_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -113,7 +113,7 @@ jobs:
run: python ./deploy/prepare_deployment.py wasm_${{ matrix.type }}

- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
if: ${{ ! contains(matrix.type, 'libs') }}
with:
name: wasm_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Upload logs on failure
if: ${{failure()}}
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: windows_logs_${{matrix.type}}_${{github.event.pull_request.head.sha}}
path: deploy/logs.7z
Expand All @@ -133,48 +133,48 @@ jobs:
- name: Upload apps
if: success() && matrix.type == 'msbuild'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: win_apps_${{matrix.platform}}_${{github.event.pull_request.head.sha}}
path: deploy/win_apps.7z

- name: Upload client
if: success() && matrix.type == 'msbuild'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: win_client_${{matrix.platform}}_${{github.event.pull_request.head.sha}}
path: deploy/win_client.7z

- name: Upload manager
if: success() && matrix.type == 'msbuild'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: win_manager_${{matrix.platform}}_${{github.event.pull_request.head.sha}}
path: deploy/win_manager.7z

- name: Upload installer files
if: success() && matrix.type == 'msbuild'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: win_installer_${{matrix.platform}}_${{github.event.pull_request.head.sha}}
path: deploy/win_installer.7z

- name: Upload symbol files
if: success() && matrix.type == 'msbuild'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: win_pdb_${{matrix.platform}}_${{github.event.pull_request.head.sha}}
path: win_build/Build/${{matrix.platform}}/${{matrix.configuration}}/*.pdb

- name: Upload Google Tests Results
if: always() && matrix.platform == 'x64' && matrix.type == 'msbuild'
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b
with:
name: Windows_tests_results
path: "win_build/Build/${{matrix.platform}}/${{matrix.configuration}}/**/gtest.xml"

- name: Upload coverage report
if: success() && matrix.platform == 'x64' && matrix.type == 'msbuild'
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8576292

Please sign in to comment.