ci: fix setting YT_AUTHENTICATED variable
This commit is contained in:
parent
e6ec5ed255
commit
72d46ee45b
1 changed files with 2 additions and 1 deletions
|
|
@ -30,11 +30,12 @@ jobs:
|
||||||
- name: 🧪 Test
|
- name: 🧪 Test
|
||||||
run: |
|
run: |
|
||||||
printf "$RUSTYPIPE_CACHE" > rustypipe_cache.json
|
printf "$RUSTYPIPE_CACHE" > rustypipe_cache.json
|
||||||
|
echo "authenticated=$YT_AUTHENTICATED"
|
||||||
cargo nextest run --config-file ~/.config/nextest.toml --profile ci --retries 2 --features rss --workspace
|
cargo nextest run --config-file ~/.config/nextest.toml --profile ci --retries 2 --features rss --workspace
|
||||||
env:
|
env:
|
||||||
ALL_PROXY: "http://warpproxy:8124"
|
ALL_PROXY: "http://warpproxy:8124"
|
||||||
RUSTYPIPE_CACHE: "${{ secrets.RUSTYPIPE_CACHE }}"
|
RUSTYPIPE_CACHE: "${{ secrets.RUSTYPIPE_CACHE }}"
|
||||||
YT_AUTHENTICATED: "${{ github.event_name != 'pull_request' }}" # no access to secrets for PRs
|
YT_AUTHENTICATED: "${{ secrets.RUSTYPIPE_CACHE != '' }}"
|
||||||
|
|
||||||
- name: Move test report
|
- name: Move test report
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
||||||
Reference in a new issue