Skip to content

Commit

Permalink
env available for all ci steps
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-avilla committed Jun 22, 2024
1 parent c201307 commit ff29722
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
CARGO_TERM_COLOR: always
LASTFM_KEY: ${{secrets.LASTFM_KEY}}

jobs:
build:
Expand All @@ -17,8 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build
env:
LASTFM_KEY: ${{secrets.LASTFM_KEY}}
run: touch .env && cargo build --verbose
- name: Run tests
run: cargo test --verbose
Expand Down

0 comments on commit ff29722

Please sign in to comment.