Bash Fixes in Release Action
Some checks failed
Run Tests on Code / run-tests (push) Successful in 1s
Build and Release Binary File / run-tests (push) Successful in 12s
Build and Release Binary File / build-linux (push) Failing after 10m32s
Build and Release Binary File / upload-release (push) Has been skipped

This commit is contained in:
Neshura 2023-11-17 19:07:33 +01:00
parent f903bc0754
commit c70ffecab6
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -19,10 +19,12 @@ jobs:
-
name: Check if Version in Cargo.toml matches Tag
run: |
VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d=)
if test $VERSION != "${{ github.ref_name }}"
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'"
end
VERSION=$(cat src-tauri/Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ")
if test $VERSION != "${{ github.ref_name }}"; then
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";
else
echo "Version is: '$VERSION'";
fi
build-linux:
needs: test
@ -81,7 +83,10 @@ jobs:
-
name: Storing Debian Version for Upload Job
id: store_deb_ver
run: echo $VERSION_CODENAME >> $GITHUB_OUTPUT
run: |
env -i bash -c '. /etc/os-release; echo $VERSION_CODENAME'
echo Debian Version is: $VERSION_CODENAME
echo $VERSION_CODENAME >> $GITHUB_OUTPUT
-
name: Uploading Linux AppImage Artifact
uses: actions/upload-artifact@v3