Skip to content

Commit

Permalink
Make artifact names unique (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwneisen authored Jan 21, 2025
1 parent d3c4a89 commit 5959ccb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: ${{ github.event_name == 'release' }}
uses: actions/upload-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.ubuntu
retention-days: 5
path: |
packaging/static/**/**/**/*.tgz
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.deb
retention-days: 5
path: |
packaging/deb/**/**/**/*.deb
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.rpm
retention-days: 5
path: |
packaging/rpm/**/**/**/*.rpm
Expand All @@ -107,7 +107,7 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.arm
retention-days: 5
path: |
packaging/static/**/**/**/*.tgz
Expand All @@ -134,7 +134,7 @@ jobs:
if: ${{ github.event_name == 'release' }}
uses: actions/upload-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.win
retention-days: 5
path: |
packaging/static/**/**/**/*.zip
Expand All @@ -161,7 +161,7 @@ jobs:
if: ${{ github.event_name == 'release' }}
uses: actions/upload-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.darwin
retention-days: 5
path: |
packaging/static/**/**/**/*.tgz
17 changes: 16 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,22 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: cri-dockerd
name: cri-dockerd.ubuntu
- uses: actions/download-artifact@v4
with:
name: cri-dockerd.deb
- uses: actions/download-artifact@v4
with:
name: cri-dockerd.rpm
- uses: actions/download-artifact@v4
with:
name: cri-dockerd.arm
- uses: actions/download-artifact@v4
with:
name: cri-dockerd.win
- uses: actions/download-artifact@v4
with:
name: cri-dockerd.darwin
- name: Push binaries
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 5959ccb

Please sign in to comment.