From 2dc216bf7bf897b9edfb11985cbfaf053739ec33 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:08:51 +0000 Subject: [PATCH] fix(ci): remove deprecated code --- .github/workflows/foundry-setup.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/foundry-setup.yml b/.github/workflows/foundry-setup.yml index 102b1e05..da29e5eb 100644 --- a/.github/workflows/foundry-setup.yml +++ b/.github/workflows/foundry-setup.yml @@ -6,12 +6,10 @@ on: jobs: pre-setup: runs-on: ubuntu-latest - outputs: - version: ${{ steps.set-version.outputs.version }} steps: - - id: set-version - run: | - echo "::set-output name=version::nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9" + - name: Set Foundry version + id: set-version + run: echo "FOUNDRY_VERSION=nightly-f625d0fa7c51e65b4bf1e8f7931cd1c6e2e285e9" >> "$GITHUB_ENV" setup: runs-on: ubuntu-latest @@ -19,24 +17,18 @@ jobs: outputs: key: ${{ steps.set-key.outputs.key }} steps: - - uses: actions/checkout@v4 - - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: ${{ needs.pre-setup.outputs.version }} - + version: ${{ env.FOUNDRY_VERSION }} - name: Print forge version run: forge --version - - name: Save Foundry cache uses: actions/cache/save@v3 with: path: | ~/.foundry - key: ${{ runner.os }}-foundry-${{ needs.pre-setup.outputs.version }} - + key: ${{ runner.os }}-foundry-${{ env.FOUNDRY_VERSION }} - name: Save key id: set-key - run: | - echo "::set-output name=key::${{ runner.os }}-foundry-${{ needs.pre-setup.outputs.version }}" \ No newline at end of file + run: echo "key=${{ runner.os }}-foundry-${{ env.FOUNDRY_VERSION }}" >> "$GITHUB_OUTPUT"