Skip to content

Commit

Permalink
Bump actions/upload-artifact from 3 to 4 (#143)
Browse files Browse the repository at this point in the history
Include OS in artifact names:

Uploading to the same named Artifact multiple times is not allowed
with actions/upload-artifact@v4

https://github.com/actions/upload-artifact/tree/cf8714cfeaba5687a442b9bcb85b29e23f468dfa#v4---whats-new
  • Loading branch information
dependabot[bot] authored Jan 24, 2024
1 parent af9abd6 commit 8de1405
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Build
run: build/tar 1
- name: Upload github artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: "*.tar.gz"
name: tar
Expand Down Expand Up @@ -58,10 +58,10 @@ jobs:
outputs: builds

- name: Upload GitHub artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: "builds/**/*.deb"
name: debs
name: debs-${{ matrix.os }}

- name: Upload to PackageCloud
if: startsWith(github.ref, 'refs/tags/v')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
version=${{ env.version }}
outputs: RPMS

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
name: Upload artifact
with:
name: rpm-packages
name: rpm-packages-${{ matrix.os }}
path: RPMS

- name: Upload to Packagecloud
Expand Down

0 comments on commit 8de1405

Please sign in to comment.