Skip to content

Commit

Permalink
try different action for release
Browse files Browse the repository at this point in the history
  • Loading branch information
fblz committed Aug 3, 2024
1 parent 19c6053 commit be551bd
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
on: release
on:
release:
types: [created]

permissions:
contents: write
packages: write

name: Build Release
jobs:
release-linux-amd64:
name: release linux/amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: amd64
GOOS: linux
EXTRA_FILES: Readme.md sample.config.json simple-dyndns.service
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
extra_files: Readme.md sample.config.json simple-dyndns.service
release-linux-arm64:
name: release linux/arm64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: ngs/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: arm64
GOOS: linux
EXTRA_FILES: Readme.md sample.config.json simple-dyndns.service
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm64
extra_files: Readme.md sample.config.json simple-dyndns.service

0 comments on commit be551bd

Please sign in to comment.