Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame authored Dec 27, 2023
1 parent 9133d32 commit de80979
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
name: pre-install software in GHA runner

on: [push, workflow_dispatch]
env:
HOME: /home/runner/work/

jobs:
view-prebuilt-version:
set-env:
strategy:
matrix:
os: [macos-latest]
env:
HOME: /home/runner/work/
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@main
with:
go-version: 'stable'

no-env:
strategy:
matrix:
os: [macos-latest]
runs-on: ${{ matrix.os }}
steps:
- run: echo $HOME
- uses: actions/setup-go@main
with:
go-version: 'stable'
# When no go versions are set in workflow file, the default version in GitHub hosted runner is used.
- name: after setup Golang
run: go version
- name: after setup Golang
run: go version

0 comments on commit de80979

Please sign in to comment.