-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from AliyunContainerService/chore/update-githu…
…b-actions chore: update release github actions
- Loading branch information
Showing
1 changed file
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,30 +3,21 @@ name: release | |
on: | ||
release: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
env: | ||
BINARY_NAME: image-syncer | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
releases-matrix: | ||
name: Release Matrix | ||
releases-linux-binaries: | ||
name: Release Go Binaries For Linux | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
goos: [linux, darwin] | ||
goos: [linux] | ||
goarch: [amd64, arm64] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: wangyoucao577/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
goos: ${{ matrix.goos }} | ||
goarch: ${{ matrix.goarch }} | ||
binary_name: "${{ env.BINARY_NAME }}" | ||
build_flags: -v | ||
goversion: 1.15 | ||
extra_files: LICENSE README.md |