Skip to content

Commit

Permalink
chore: set shell only
Browse files Browse the repository at this point in the history
  • Loading branch information
k1rnt committed Oct 12, 2022
1 parent d23bb2e commit 7c3ba78
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,8 @@ jobs:
# Get values for cache paths to be used in later steps
- id: cache-paths
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
echo "go-cache=$(go env GOCACHE)" | Out-File -FilePath $GITHUB_OUTPUT -Encoding utf8 -Append
echo "go-mod-cache=$(go env GOMODCACHE)" | Out-File -FilePath $GITHUB_OUTPUT -Encoding utf8 -Append
else
echo "go-cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
echo "go-mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
fi
echo "go-cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
echo "go-mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
shell: bash

- name: Cache go modules
Expand Down

0 comments on commit 7c3ba78

Please sign in to comment.