mirror of
https://github.com/adulau/mastodon-markdown-archive.git
synced 2024-11-21 17:37:06 +00:00
Compare commits
5 commits
cd7fdd146d
...
94b45ca42e
Author | SHA1 | Date | |
---|---|---|---|
94b45ca42e | |||
5b7125f844 | |||
c019a89cfc | |||
b9a426b48d | |||
5e4d5ef6d8 |
2 changed files with 26 additions and 1 deletions
24
.github/workflows/release.yaml
vendored
Normal file
24
.github/workflows/release.yaml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: build-go-binary
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created] # Indicates that it is triggered when a new Release is created
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-go-binary:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
goos: [linux, windows, darwin]
|
||||||
|
goarch: [amd64, arm64] # A packaged schema is required
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: wangyoucao577/go-release-action@v1.51
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
goos: ${{ matrix.goos }}
|
||||||
|
goarch: ${{ matrix.goarch }}
|
||||||
|
goversion: 1.23
|
||||||
|
binary_name: "mastodon-markdown-archive"
|
||||||
|
extra_files: README.md
|
||||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -22,3 +22,4 @@
|
||||||
go.work
|
go.work
|
||||||
|
|
||||||
example
|
example
|
||||||
|
test/posts/
|
||||||
|
|
Loading…
Reference in a new issue