From b79d6231f54d4c47d5310768887401ca2aa98ce0 Mon Sep 17 00:00:00 2001 From: Jim Fisk Date: Wed, 30 Oct 2024 13:59:18 -0400 Subject: [PATCH] Use GITHUB_PATH (#349). --- .github/workflows/release.yml | 1 + .goreleaser.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7988594..6aa77310 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,7 @@ jobs: run: | mkdir ../../osxcross git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target + echo "/home/runner/work/osxcross/target/bin" >> $GITHUB_PATH - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 diff --git a/.goreleaser.yml b/.goreleaser.yml index 957fc90c..b2c8ebbc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,7 +5,6 @@ before: - go mod download - go generate ./... - git diff - - export PATH=/home/runner/work/osxcross/target/bin:$PATH builds: - id: linux-build ldflags: