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
|
||||
run: |
|
||||
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
|
||||
env:
|
||||
ALL_PROXY: "http://warpproxy:8124"
|
||||
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
|
||||
if: always()
|
||||
|
|
|
|||
Reference in a new issue