Skip to content

Commit

Permalink
ci: Fix up binary release process
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Oct 25, 2021
1 parent 5e97479 commit 0a1db3d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish-binaries.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
release:
types: [created]
push:
tags:
- v*

jobs:
release:
Expand All @@ -16,6 +17,12 @@ jobs:
goos: darwin
steps:
- uses: actions/checkout@v2
- name: Set APP_VERSION env
run: echo APP_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev ) >> ${GITHUB_ENV}
- name: Set BUILD_TIME env
run: echo BUILD_TIME=$(date) >> ${GITHUB_ENV}
- name: Environment Printer
uses: managedkaos/[email protected]
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0a1db3d

Please sign in to comment.