Skip to content

Commit

Permalink
Merge pull request #5788 from BOINC/vko_update_actions
Browse files Browse the repository at this point in the history
[ci] update actions
  • Loading branch information
AenBleidd committed Sep 1, 2024
2 parents 66440f9 + 0b891da commit 1cc0d3f
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 40 deletions.
18 changes: 9 additions & 9 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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: android_client_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: android/BOINC/app/src/main/assets/
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:

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

- name: Upload generic artifacts
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: ${{ always() && matrix.task == 'jacocoTestReportDebug' }}
with:
name: Android_tests_results
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: success()
with:
name: linux-package_${{ matrix.type }}_${{ matrix.os }}_${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -968,7 +968,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@834a144ee995460fba8ed112a2fc961b36a5ec5a
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: ${{ success() && env.SKIP_RUN == 0 }}
with:
name: repo-${{ env.RELEASE_TYPE }}-${{ matrix.os }}
Expand Down Expand Up @@ -1071,7 +1071,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@834a144ee995460fba8ed112a2fc961b36a5ec5a
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: ${{ success() && env.SKIP_RUN == 0 }}
with:
name: repo-${{ env.RELEASE_TYPE }}-${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: linux_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
path: deploy/logs.7z
Expand All @@ -181,14 +181,14 @@ jobs:
run: python ./deploy/prepare_deployment.py linux_${{ matrix.type }}

- name: Upload artifacts
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: always() && matrix.type == 'unit-test' # run this step even if previous step failed
with:
name: Linux_tests_results
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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 @@ -89,7 +89,7 @@ jobs:

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

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

- name: Upload apps
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: osx_arm64_apps_${{ github.event.pull_request.head.sha }}
path: deploy/macos_apps_arm64.7z
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:

- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: success()
with:
name: linux_snap_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/update_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,13 @@ jobs:
run: |
set -e
git diff --exit-code
- name: Prepare patch file
if: failure()
run: |
git diff > update_actions.patch
- name: Upload patch
if: failure()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
if: ${{ ! contains(matrix.type, 'libs') }}
with:
name: wasm_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/windows.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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: windows_logs_${{matrix.type}}_${{github.event.pull_request.head.sha}}
path: deploy/logs.7z
Expand All @@ -124,42 +124,42 @@ jobs:
- name: Upload apps
if: success() && matrix.type == 'msbuild'
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
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@834a144ee995460fba8ed112a2fc961b36a5ec5a
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
with:
name: Windows_tests_results
path: "win_build/Build/${{matrix.platform}}/${{matrix.configuration}}/**/gtest.xml"
Expand Down

0 comments on commit 1cc0d3f

Please sign in to comment.