Skip to content

Commit

Permalink
[fix] further fixes to upload/download artifacts (#496)
Browse files Browse the repository at this point in the history
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
  • Loading branch information
jpkrohling committed Mar 5, 2024
1 parent d126544 commit a2aded8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/base-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: all-artifacts
name: artifacts-${{ inputs.distribution }}-${{ matrix.GOOS }}-${{ matrix.GOARCH }}
path: distributions/${{ inputs.distribution }}/dist/**/*
if-no-files-found: error

release:
name: ${{ inputs.distribution }} Release
Expand Down Expand Up @@ -119,8 +120,12 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: all-artifacts
path: dist
pattern: artifacts-${{ inputs.distribution }}-*
path: distributions/${{ inputs.distribution }}/dist
merge-multiple: true

- name: Display structure of downloaded files
run: ls -R distributions/${{ inputs.distribution }}/dist

- name: Log into Docker.io
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
Expand Down

0 comments on commit a2aded8

Please sign in to comment.