diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..9826fc1 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,25 @@ +# .github/workflows/release.yaml + +on: + push: + branches: [ main ] + release: + types: [created] + +permissions: + contents: write + packages: write + +jobs: + release-linux-amd64: + name: release linux/amd64 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wangyoucao577/go-release-action@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + goos: linux + goarch: amd64 + release_tag: dev + overwrite: true \ No newline at end of file