Skip to content

Commit

Permalink
add release info
Browse files Browse the repository at this point in the history
  • Loading branch information
rayspock committed Apr 24, 2023
1 parent 915aedc commit 43cc95f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ jobs:
- goarch: arm64
goos: windows
steps:
- name: Get Release Info
run: |
{
echo "RELEASE_TAG=${GITHUB_REF/refs\/tags\//}"
echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}"
echo "OS_NAME=${{ matrix.goos }}"
} >> "$GITHUB_ENV"
- name: OS darwin
if: matrix.goos == 'darwin'
run: echo "OS_NAME=macOS" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1
with:
Expand Down

0 comments on commit 43cc95f

Please sign in to comment.