Skip to content

Commit

Permalink
assign rust version to GH_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
magick93 committed Nov 26, 2024
1 parent 71351c2 commit 5471473
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ jobs:
- name: Get rust-version
id: get-rust-version
run: |
echo "Current working directory: $(pwd)"
ls -la $(pwd)
ls -la ./.github/scripts/
RUST_VERSION=$(./.github/scripts/toml_reader.sh ./anchor/Cargo.toml package rust-version)
echo "RUST_VERSION=$(./.github/scripts/toml_reader.sh ./anchor/Cargo.toml package rust-version)" >> $GITHUB_ENV
- name: Get latest version of stable Rust
run: echo "rust version is ${{ env.RUST_VERSION }}"

- name: Retrieve Docker credentials from Vault
uses: hashicorp/vault-action@v2
Expand Down

0 comments on commit 5471473

Please sign in to comment.