Skip to content

Commit

Permalink
Merge pull request #84 from AliyunContainerService/chore/update-githu…
Browse files Browse the repository at this point in the history
…b-actions

chore: update release github actions
  • Loading branch information
hhyasdf authored Oct 20, 2021
2 parents 94ed98c + b0baab0 commit 4bcc8b5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4bcc8b5

Please sign in to comment.