Improve CI procedure. Add Debian/Ubuntu and Arch Linux packages into binary release.

This commit is contained in:
AB
2020-04-26 23:45:55 +03:00
parent e270becb04
commit 19984d127b

View File

@ -98,15 +98,11 @@ jobs:
path: ./artifacts/
- name: Upload binary assets
run: |
sudo apt-get update
sudo apt-get install -y tree
tree ./
ls -lh ./artifacts
wget https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
tar xjf linux-amd64-github-release.tar.bz2
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
./bin/linux/amd64/github-release upload -u house-of-vanity -r mus-fuse --tag ${{ steps.get_version.outputs.FULL_TAG }} --name mus-fuse_${{ steps.get_version.outputs.VERSION }}_amd64.deb --file ./artifacts/mus-fuse_amd64.deb
./bin/linux/amd64/github-release upload -u house-of-vanity -r mus-fuse --tag ${{ steps.get_version.outputs.FULL_TAG }} --name arch_linux_mus-fuse-${{ steps.get_version.outputs.VERSION }}-x86_64.pkg.tar.zst --file ./artifacts/arch_linux_mus-fuse-x86_64.pkg.tar.zst
./bin/linux/amd64/github-release upload -u house-of-vanity -r mus-fuse --tag ${{ steps.get_version.outputs.FULL_TAG }} --name arch_linux_mus-fuse-${{ steps.get_version.outputs.VERSION }}-x86_64.pkg.tar.zst --file ./artifacts/mus-fuse-x86_64.pkg.tar.zst
./bin/linux/amd64/github-release upload -u house-of-vanity -r mus-fuse --tag ${{ steps.get_version.outputs.FULL_TAG }} --name mus-fuse-${{ steps.get_version.outputs.VERSION }} --file ./artifacts/mus-fuse
# - name: Upload Arch Linux Release
# uses: actions/upload-release-asset@v1