mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-08-21 08:07:16 +00:00
Improve CI procedure. Add Debian/Ubuntu and Arch Linux packages into binary release.
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -70,6 +70,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo ${GITHUB_REF/refs\/tags\/v/}
|
echo ${GITHUB_REF/refs\/tags\/v/}
|
||||||
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
||||||
|
echo ::set-output name=FULL_TAG::${GITHUB_REF/refs\/tags\//}
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
@@ -95,11 +96,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: mus-fuse_amd64.deb
|
name: mus-fuse_amd64.deb
|
||||||
path: ./artifacts/mus-fuse_${{ steps.get_version.outputs.VERSION }}_amd64.deb
|
path: ./artifacts/mus-fuse_${{ steps.get_version.outputs.VERSION }}_amd64.deb
|
||||||
- uses: AButler/upload-release-assets@v2.0
|
- name: Upload binary assets
|
||||||
with:
|
run: |
|
||||||
files: '/home/runner/work/mus-fuse/mus-fuse/artifacts/*'
|
wget https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
|
||||||
release-tag: ${{ github.ref }}
|
tar xjf linux-amd64-github-release.tar.bz2
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
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_${{ steps.get_version.outputs.VERSION }}_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-${{ steps.get_version.outputs.VERSION }}-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-${{ steps.get_version.outputs.VERSION }}
|
||||||
# - name: Upload Arch Linux Release
|
# - name: Upload Arch Linux Release
|
||||||
# uses: actions/upload-release-asset@v1
|
# uses: actions/upload-release-asset@v1
|
||||||
# env:
|
# env:
|
||||||
|
Reference in New Issue
Block a user