diff --git a/.forgejo/workflows/pull-requests.yml b/.forgejo/workflows/pull-requests.yml index c3a4a63..fa9573b 100644 --- a/.forgejo/workflows/pull-requests.yml +++ b/.forgejo/workflows/pull-requests.yml @@ -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 " "