mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-08-21 16:17:15 +00:00
Improve CI procedure. Add Debian/Ubuntu and Arch Linux packages into binary release.
This commit is contained in:
33
.github/workflows/build.yml
vendored
33
.github/workflows/build.yml
vendored
@@ -70,16 +70,16 @@ 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/}
|
||||||
# - name: Create Release
|
- name: Create Release
|
||||||
# id: create_release
|
id: create_release
|
||||||
# uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# with:
|
with:
|
||||||
# tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
# release_name: Release ${{ github.ref }}
|
release_name: Release ${{ github.ref }}
|
||||||
# draft: false
|
draft: false
|
||||||
# prerelease: false
|
prerelease: false
|
||||||
- name: Download binary
|
- name: Download binary
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v1
|
||||||
with:
|
with:
|
||||||
@@ -95,16 +95,11 @@ 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: meeDamian/github-release@2.0
|
- uses: AButler/upload-release-assets@v2.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
files: 'artifacts/*'
|
||||||
tag: ${{ github.ref }}
|
release-tag: ${{ github.ref }}
|
||||||
name: Release ${{ github.ref }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
allow_override: true
|
|
||||||
files: >
|
|
||||||
./artifacts/mus-fuse_${{ steps.get_version.outputs.VERSION }}_amd64.deb
|
|
||||||
./artifacts/arch_linux_mus-fuse-${{ steps.get_version.outputs.VERSION }}-x86_64.pkg.tar.zst
|
|
||||||
./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