mirror of
https://github.com/adulau/mastodon-markdown-archive.git
synced 2024-12-04 15:57:17 +00:00
new: [workflow] generate go release
This commit is contained in:
parent
cd7fdd146d
commit
5e4d5ef6d8
1 changed files with 20 additions and 0 deletions
20
.github/workflows/release.yaml
vendored
Normal file
20
.github/workflows/release.yaml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-linux-amd64:
|
||||||
|
name: release linux/amd64
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: wangyoucao577/go-release-action@v1
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
goos: linux
|
||||||
|
goarch: amd64
|
Loading…
Reference in a new issue