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

This commit is contained in:
Neshura 2024-08-07 20:34:21 +02:00
parent 0caba1a9d6
commit a95a3c11fb
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D
2 changed files with 3 additions and 3 deletions

View file

@ -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
-

View file

@ -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