Skip to content

Commit

Permalink
Attempt to fix up GH actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rossigee committed Aug 30, 2022
1 parent 3fa1fc2 commit f4846c2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# .github/workflows/release.yaml

on: release
Expand Down Expand Up @@ -33,7 +34,8 @@ jobs:
goos: darwin

steps:
- uses: actions/checkout@master
- name: Checkout code
uses: actions/checkout@master

# - uses: actions/setup-go@v2
# with:
Expand All @@ -42,13 +44,13 @@ jobs:
- name: Set APP_VERSION env
run: echo APP_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev ) >> ${GITHUB_ENV}

- name: Environment Printer
uses: managedkaos/[email protected]
# - name: Environment Printer
# uses: managedkaos/[email protected]

- uses: wangyoucao577/go-release-action@v1.16
- uses: wangyoucao577/go-release-action@v1.30
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
project_path: "${{ env.CMD_PATH }}"
# project_path: "${{ env.CMD_PATH }}"
build_flags: -v

0 comments on commit f4846c2

Please sign in to comment.