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