Fix release blobs artifacts
This commit is contained in:
parent
7bd690f650
commit
73f2b90482
1 changed files with 6 additions and 5 deletions
|
@ -58,25 +58,26 @@ jobs:
|
||||||
name: Installing cargo-deb
|
name: Installing cargo-deb
|
||||||
run: |
|
run: |
|
||||||
cargo install cargo-deb
|
cargo install cargo-deb
|
||||||
|
-
|
||||||
|
name: Prepare build environment
|
||||||
|
run: mkdir dist
|
||||||
-
|
-
|
||||||
name: Compiling To Linux Target
|
name: Compiling To Linux Target
|
||||||
run: |
|
run: |
|
||||||
cargo build -r
|
cargo build -r
|
||||||
mv target/release/${{ github.event.repository.name }} ${{ github.event.repository.name }}-linux-amd64
|
mv target/release/${{ github.event.repository.name }} dist/${{ github.event.repository.name }}-linux-amd64
|
||||||
-
|
-
|
||||||
name: Bundle .deb package
|
name: Bundle .deb package
|
||||||
run: |
|
run: |
|
||||||
cargo deb
|
cargo deb
|
||||||
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
|
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
|
||||||
mv target/debian/${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb ${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb
|
mv target/debian/${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb dist/${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb
|
||||||
-
|
-
|
||||||
name: Uploading Build Artifact
|
name: Uploading Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: release_blobs
|
name: release_blobs
|
||||||
path: |
|
path: dist
|
||||||
${{ github.event.repository.name }}-linux-amd64
|
|
||||||
${{ github.event.repository.name }}_$DEBIAN_REF-1_amd64.deb
|
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
upload-release:
|
upload-release:
|
||||||
|
|
Loading…
Reference in a new issue