Skip to content

Commit ff29722

Browse files
committed
env available for all ci steps
1 parent c201307 commit ff29722

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/rust.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11+
LASTFM_KEY: ${{secrets.LASTFM_KEY}}
1112

1213
jobs:
1314
build:
@@ -17,8 +18,6 @@ jobs:
1718
steps:
1819
- uses: actions/checkout@v4
1920
- name: Build
20-
env:
21-
LASTFM_KEY: ${{secrets.LASTFM_KEY}}
2221
run: touch .env && cargo build --verbose
2322
- name: Run tests
2423
run: cargo test --verbose

0 commit comments

Comments
 (0)