From ff2972285073229cbda7fa5b93740e8b75061606 Mon Sep 17 00:00:00 2001 From: wyatt-avilla Date: Sat, 22 Jun 2024 15:59:51 -0700 Subject: [PATCH] env available for all ci steps --- .github/workflows/rust.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4bf0e97..8a81880 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,6 +8,7 @@ on: env: CARGO_TERM_COLOR: always + LASTFM_KEY: ${{secrets.LASTFM_KEY}} jobs: build: @@ -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