Skip to content

Commit

Permalink
Fix CI using deprecated version of actions/upload-artifact (#1756)
Browse files Browse the repository at this point in the history
* Fix CI on Linux

* Fix others

* Use v4 tag
  • Loading branch information
Seb-MCaw authored Sep 10, 2024
1 parent 5b438e6 commit de0b750
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:

- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: e3-log-linux.zip
path: testsuite/out
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
# regular PRs for easy testing.
- name: Upload as artifact (when not a release)
if: (github.event_name != 'release')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: alr-${{ steps.get_ref.outputs.short_sha }}-x86_64.AppImage.zip
path: alr.AppImage
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: e3-log-docker-${{ matrix.tag }}.zip
path: testsuite/out
4 changes: 2 additions & 2 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
INDEX: ""

- name: Upload binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: alr-bin-linux.zip
path: |
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: e3-log-linux.zip
path: testsuite/out
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
INDEX: ""

- name: Upload binaries
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: alr-bin-${{ env.ARCH }}-macos.zip
path: |
Expand All @@ -71,7 +71,7 @@ jobs:
- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: testsuite-log-macos.zip
path: testsuite/out
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-unsupported.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: e3-log-unsupported.zip
path: testsuite/out
8 changes: 4 additions & 4 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,26 +89,26 @@ jobs:
ALR_INSTALL_OS: ${{ runner.os }}

- name: Upload installer
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: installer-release-package
path: scripts/installer/alire-*.exe

- name: Upload zip archive
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: zip-release-package
path: scripts/installer/alire-*.zip

- name: Upload tar archive
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: tar-release-package
path: scripts/installer/alire-*.tar.xz

- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: testsuite-log-windows.zip
path: testsuite/out
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ jobs:

- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: e3-log-linux.zip
path: testsuite/out

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: alr-bin-${{ matrix.os }}.zip
path: |
Expand Down

0 comments on commit de0b750

Please sign in to comment.