release workflow fix 2

This commit is contained in:
2025-12-23 22:55:41 +02:00
parent 0ca1bfecde
commit 397bddd956

View File

@@ -13,6 +13,8 @@ jobs:
runs-on: rust-latest runs-on: rust-latest
steps: steps:
- run: export TEST_TOKEN=${{ secrets.TEST }}
- run: [ $TEST_TOKEN = "test123" ] && echo "test secret works"
- run: git clone https://git.jlux.dev/${{ gitea.repository }} . && git checkout ${{ gitea.ref_name }} - run: git clone https://git.jlux.dev/${{ gitea.repository }} . && git checkout ${{ gitea.ref_name }}
- run: cargo build --verbose --release - run: cargo build --verbose --release
- run: export CARGO_REGISTRIES_GITEA_TOKEN=${{ secrets.CARGO_TOKEN }} - run: export CARGO_REGISTRIES_GITEA_TOKEN=${{ secrets.CARGO_TOKEN }}