Test
Some checks failed
Run Tests on Code / run-tests (push) Successful in 11s
Build binary file and bundle packages / test (pull_request) Successful in 11s
Build binary file and bundle packages / build (pull_request) Failing after 3s
Build binary file and bundle packages / test-env (pull_request) Has been skipped
Some checks failed
Run Tests on Code / run-tests (push) Successful in 11s
Build binary file and bundle packages / test (pull_request) Successful in 11s
Build binary file and bundle packages / build (pull_request) Failing after 3s
Build binary file and bundle packages / test-env (pull_request) Has been skipped
This commit is contained in:
parent
e41c39ce38
commit
25c87ae6e5
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@ jobs:
|
||||||
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
|
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
|
||||||
echo "debian_ref=$DEBIAN_REF" >> $GITHUB_OUTPUT
|
echo "debian_ref=$DEBIAN_REF" >> $GITHUB_OUTPUT
|
||||||
echo DEBIAN_REF: $DEBIAN_REF
|
echo DEBIAN_REF: $DEBIAN_REF
|
||||||
|
DEBIAN_REV=-$(cat Cargo.toml | grep -E "(^|\|)revision =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||||
|
echo "debian_rev=$DEBIAN_REV" >> ${{ env.GITHUB_OUTPUT }}
|
||||||
|
echo DEBIAN_REV: $DEBIAN_REV
|
||||||
|
DEBIAN_NAME=-$(cat Cargo.toml | grep -E "(^|\|)name =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||||
|
echo "debian_name=$DEBIAN_NAME" >> ${{ env.GITHUB_OUTPUT }}
|
||||||
|
echo DEBIAN_NAME: $DEBIAN_NAME
|
||||||
|
mv target/debian/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}${{ DEBIAN_REV }}_amd64.deb dist/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}${{ DEBIAN_REV }}_amd64.deb
|
||||||
|
|
||||||
- name: Uploading Build Artifact
|
- name: Uploading Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Reference in a new issue