Skip to content

Commit

Permalink
Upload all files with directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
adewes committed Jun 25, 2021
1 parent bd9eddf commit 69c019b
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,6 @@ jobs:
export GOARCH=`echo ${{matrix.arch}} | sed 's/[a-z0-9]*_//g'`
export GOOS=`echo ${{matrix.arch}} | sed 's/\([a-z0-9]*\)_[a-z0-9]*$/\1/g'`
make
- name: Upload binaries to release page (all other)
if: ${{ matrix.arch != 'linux_amd64' }}
uses: softprops/action-gh-release@v1
with:
files: |
/tmp/go/bin/${{matrix.arch}}/eps-${{matrix.arch}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binaries to release page (Linux)
if: ${{ matrix.arch == 'linux_amd64' }}
uses: softprops/action-gh-release@v1
with:
files: |
/tmp/go/bin/eps-${{matrix.arch}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload binaries (Linux)
if: ${{ matrix.arch == 'linux_amd64' }}
uses: actions/upload-artifact@v2
Expand All @@ -67,3 +51,10 @@ jobs:
name: eps-${{matrix.arch}}
path: |
/tmp/go/bin/${{matrix.arch}}/*
- name: Upload binaries to release page
uses: softprops/action-gh-release@v1
with:
files: |
/tmp/go/bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 69c019b

Please sign in to comment.