Skip to content

Commit c2f8d46

Browse files
authored
Trial with GITHUB_PATH
1 parent 1a47ecf commit c2f8d46

File tree

1 file changed

+9
-27
lines changed

1 file changed

+9
-27
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -91,21 +91,6 @@ jobs:
9191
svm_target_platform: linux-amd64
9292
platform: linux
9393
arch: amd64
94-
- runner: macos-14
95-
target: x86_64-apple-darwin
96-
svm_target_platform: macosx-amd64
97-
platform: darwin
98-
arch: amd64
99-
- runner: macos-14
100-
target: aarch64-apple-darwin
101-
svm_target_platform: macosx-aarch64
102-
platform: darwin
103-
arch: arm64
104-
- runner: windows-2022
105-
target: x86_64-pc-windows-msvc
106-
svm_target_platform: windows-amd64
107-
platform: win32
108-
arch: amd64
10994
steps:
11095
- uses: actions/checkout@v4
11196
- uses: dtolnay/rust-toolchain@stable
@@ -242,23 +227,20 @@ jobs:
242227
files: |
243228
${{ steps.artifacts.outputs.file_name }}
244229
${{ steps.man.outputs.foundry_man }}
245-
246-
- name: Test Foundry Linux Musl AMD64
247-
if: matrix.target == 'x86_64-unknown-linux-musl'
248-
env:
249-
VERSION_NAME: ${{ (env.IS_NIGHTLY == 'true' && 'nightly') || needs.prepare.outputs.tag_name }}
230+
231+
- name: Install Foundry Linux Musl AMD64
250232
shell: bash
251233
run: |
252-
uname -s
253-
uname -m
254234
curl -L https://raw.githubusercontent.com/soul022/foundry-revive-testing/refs/heads/master/foundryup/install | bash
255-
export PATH="$HOME/.foundry/bin:$PATH"
256-
source ~/.bashrc || true
257-
~/.foundry/bin/foundryup --install "${VERSION_NAME}"
258-
which forge
235+
echo "$HOME/.foundry/bin" >> $GITHUB_PATH
236+
237+
- name: Test Foundry binaries
238+
shell: bash
239+
run: |
240+
foundryup --install "${VERSION_NAME}"
259241
forge --version
260-
which cast
261242
cast --version
243+
262244
263245
cleanup:
264246
name: Release cleanup

0 commit comments

Comments
 (0)