Skip to content

Commit

Permalink
Fix GitHub build scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Nov 19, 2020
1 parent 2a9d6f8 commit 94278d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
with:
fetch-depth: 0

- name: Setup environment variables
id: setup_environment
shell: bash
run: |
echo "$(go version)" >> $GOVERSION
echo "$(git symbolic-ref --short HEAD 2>/dev/null || echo '')" >> $GIT_BRANCH
- name: Setup Go
id: setup_go
uses: actions/setup-go@v2
with:
go-version: "1.15"

- name: Setup environment variables
id: setup_environment
shell: bash
run: |
echo "GOVERSION=$(go version)" >> $GITHUB_ENV
echo "GIT_BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null || echo '')" >> $GITHUB_ENV
- name: Prepare compilation for linux/amd64 only
id: update_goreleaser_yml
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 94278d4

Please sign in to comment.