This commit is contained in:
parent
7a29305f6f
commit
86f6527af8
@ -19,17 +19,11 @@ jobs:
|
||||
source $HOME/.cargo/env
|
||||
rustc --version # Verify Rust is installed
|
||||
|
||||
- name: Build Rust Project
|
||||
run: |
|
||||
source $HOME/.cargo/env
|
||||
cargo build --release
|
||||
|
||||
- name: Inject Secret
|
||||
env:
|
||||
SECRET_TOKEN: ${{ secrets.MY_SECRET }}
|
||||
run: |
|
||||
echo "Building with SECRET_TOKEN=${SECRET_TOKEN}"
|
||||
cargo build --release
|
||||
|
||||
- name: Run Tests
|
||||
run: cargo test
|
||||
Loading…
x
Reference in New Issue
Block a user