Adjust Environment Variable Test
Some checks failed
Run Tests on Code / run-tests (push) Successful in 12s
Build binary file and bundle packages / test (pull_request) Successful in 11s
Build binary file and bundle packages / build (pull_request) Successful in 23s
Build binary file and bundle packages / test-env (pull_request) Failing after 2s

This commit is contained in:
Neshura 2024-08-07 19:52:08 +02:00
parent a6b35ec488
commit 01b3a2028b
Signed by: Neshura
GPG key ID: 4E2D47B1374C297D

View file

@ -76,9 +76,11 @@ jobs:
if: success()
runs-on: docker
steps:
-
name: Test Debian Variables
- name: Checking Out Repository Code
uses: https://code.forgejo.org/actions/checkout@v3
- name: Test Debian Variables
run: |
test ${{ needs.build.outputs.debian_name }} = $(echo ${{ github.ref_name }} | tr - \~)
test ${{ needs.build.outputs.debian_ref }} = $(cat Cargo.toml | grep -E "(^|\|)revision =" | cut -f2- -d= | tr -d \" | tr -d " ")
test ${{ needs.build.outputs.debian_rev }} = $(cat Cargo.toml | grep -E "(^|\|)name =" | cut -f2- -d= | tr -d \" | tr -d " ")
test ${{ needs.build.outputs.debian_name }} = echo ${{ github.ref_name }} | tr - \~
test ${{ needs.build.outputs.debian_ref }} = cat Cargo.toml | grep -E "(^|\|)revision =" | cut -f2- -d= | tr -d \" | tr -d " "
test ${{ needs.build.outputs.debian_rev }} = cat Cargo.toml | grep -E "(^|\|)name =" | cut -f2- -d= | tr -d \" | tr -d " "