Test
Some checks failed
Build binary file and bundle packages / test (pull_request) Successful in 10s
Run Tests on Code / run-tests (push) Successful in 16s
Build binary file and bundle packages / build (pull_request) Successful in 25s
Build binary file and bundle packages / test-env (pull_request) Failing after 0s
Some checks failed
Build binary file and bundle packages / test (pull_request) Successful in 10s
Run Tests on Code / run-tests (push) Successful in 16s
Build binary file and bundle packages / build (pull_request) Successful in 25s
Build binary file and bundle packages / test-env (pull_request) Failing after 0s
This commit is contained in:
parent
0caba1a9d6
commit
a95a3c11fb
2 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ jobs:
|
|||
cargo deb
|
||||
DEBIAN_REF=$(echo ${{ github.ref_name }} | tr - \~)
|
||||
echo "debian_ref=$DEBIAN_REF" >> ${{ env.GITHUB_OUTPUT }}
|
||||
DEBIAN_REV=-$(cat Cargo.toml | grep -E "(^|\|)revision =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
DEBIAN_REV=$(cat Cargo.toml | grep -E "(^|\|)revision =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
echo "debian_rev=$DEBIAN_REV" >> ${{ env.GITHUB_OUTPUT }}
|
||||
DEBIAN_NAME=-$(cat Cargo.toml | grep -E "(^|\|)name =" | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
DEBIAN_NAME=$(cat Cargo.toml | grep -E "(^|\|)name =" | tail -n1 | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
echo "debian_name=$DEBIAN_NAME" >> ${{ env.GITHUB_OUTPUT }}
|
||||
mv target/debian/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}-${{ DEBIAN_REV }}_amd64.deb dist/${{ DEBIAN_NAME }}_${{ DEBIAN_REF }}${{ DEBIAN_REV }}_amd64.deb
|
||||
-
|
||||
|
|
|
@ -61,7 +61,7 @@ jobs:
|
|||
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 " ")
|
||||
DEBIAN_NAME=$(cat Cargo.toml | grep -E "(^|\|)name =" | tail -n1 | cut -f2- -d= | tr -d \" | tr -d " ")
|
||||
echo "debian_name=$DEBIAN_NAME" >> ${{ env.GITHUB_OUTPUT }}
|
||||
echo DEBIAN_NAME: $DEBIAN_NAME
|
||||
|
||||
|
|
Loading…
Reference in a new issue