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
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:
parent
a6b35ec488
commit
01b3a2028b
1 changed files with 7 additions and 5 deletions
|
@ -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 " "
|
||||
|
|
Loading…
Reference in a new issue