Skip to content

Commit

Permalink
ci: update GitHub action
Browse files Browse the repository at this point in the history
 - actions/checkout@v3 --> v4
 - actions/upload-artifact@v3 --> v4
 - mikepenz/[email protected] --> v4

Signed-off-by: Bindea Cristian <[email protected]>
  • Loading branch information
bindea-cristian committed Aug 20, 2024
1 parent 4869ebf commit a67c9e7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linuxflatpakbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Pull the Docker Image
run: docker pull cristianbindea/scopy2-flatpak:latest

Expand All @@ -30,7 +30,7 @@ jobs:
shell: bash
run: echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: scopy-flatpak-${{ env.commit_sha }}
path: ${{ github.workspace }}/Scopy.flatpak
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mingwbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: windows-2019

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Pull the Docker Image
run: docker pull cristianbindea/scopy2-mingw64:latest

Expand Down Expand Up @@ -50,17 +50,17 @@ jobs:
shell: bash
run: echo "commit_sha=$(git rev-parse --short ${{ github.sha }})" >> "$GITHUB_ENV"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: scopy-windows-x86_64-${{ env.commit_sha }}
path: ${{ github.workspace }}\artifacts\scopy-x86_64

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: debug-windows-x86_64-${{ env.commit_sha }}
path: ${{ github.workspace }}\artifacts\debug-x86_64

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: scopy-windows-x86_64-setup-${{ env.commit_sha }}
path: ${{ github.workspace }}\artifacts\scopy-64-setup.exe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu20build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
image: cristianbindea/scopy2-ubuntu20:latest
options: --user root
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build Scopy
run: /bin/bash -c "export CI_SCRIPT=ON && source $GITHUB_WORKSPACE/ci/ubuntu/ubuntu20_build_process.sh && build_scopy"
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu22build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
image: cristianbindea/scopy2-ubuntu22:latest
options: --user root
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build Scopy
run: |
/bin/bash -c "export CI_SCRIPT=ON && source $GITHUB_WORKSPACE/ci/ubuntu/ubuntu22_build_process.sh && build_scopy"
Expand All @@ -25,7 +25,7 @@ jobs:
QT_QPA_PLATFORM=offscreen ctest -V --output-on-failure --output-junit $GITHUB_WORKSPACE/test-result-ubuntu22.xml
- name: Report
uses: mikepenz/action-junit-report@v3.7.8
uses: mikepenz/action-junit-report@v4
if: always()
with:
job_name: Verify Results
Expand Down

0 comments on commit a67c9e7

Please sign in to comment.