Skip to content

Commit

Permalink
fix: adjust home for setup go (#82)
Browse files Browse the repository at this point in the history
* adjust home for setup go

* adjust gocache for setup go

* adjust home based on runner for setup go

* adjust home based on runner for setup go - fix

* wtf syntax
  • Loading branch information
Arqu authored Dec 1, 2023
1 parent 42a749c commit 2e64829
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/go-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Setup Go
- name: Setup Go (self-hosted)
if: startsWith(runner.name, 'hetz-')
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
env:
HOME: /Users/hetzner
- name: Setup Go (gh)
if: startsWith(runner.name, 'hetz-') != true
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
Expand Down

0 comments on commit 2e64829

Please sign in to comment.