Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame authored Nov 4, 2023
1 parent c07521f commit 96c667c
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,10 @@ on:
jobs:
find-default-go:
name: 'Find default go version'
runs-on: windows-latest
outputs:
version: ${{ steps.goversion.outputs.version }}
runs-on: ubuntu-latest
steps:
- run: |
ls -la 'C:\hostedtoolcache\windows\go\'
ls -la "C:\hostedtoolcache\windows\go\*"
version=`go env GOVERSION|sed s/^go//`
echo "default go version: $version"
echo "version=$version" >> "$GITHUB_OUTPUT"
id: goversion
shell: bash
echo "111" > f1.txt
echo "222" > f2.txt
echo "bbb" > /tmp/f
echo ${{ hashFiles('**/*.txt /tmp/f')}}

0 comments on commit 96c667c

Please sign in to comment.