Skip to content

Commit

Permalink
ci/publish: fix uploading binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Dec 16, 2020
1 parent 3e33645 commit 45a4e28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
version=$(basename ${{ github.ref }})
name="cntr-$version"
depsname="cntr-src-$version"
install -D target/${{ matrix.target }}/release/cntr $name/cntr
install -D target/${{ matrix.target }}/release/cntr cntr-bin-$version-$target
install -D target/${{ matrix.target }}/release/cntr dist/$name/cntr
install -D target/${{ matrix.target }}/release/cntr dist/cntr-bin-$version-$target
mkdir $depsname
git archive HEAD | tar -x -C $depsname
cargo vendor
mv vendor $depsname/
tar czvf $depsname.tar.gz $depsname
tar czvf dist/$depsname.tar.gz $depsname
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit 45a4e28

Please sign in to comment.