Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI using deprecated version of actions/upload-artifact #1756

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading