Version 2.4.8 #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "[0-9]+.[0-9]+.[0-9]+" | |
jobs: | |
release: | |
name: Create release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
- name: Create Release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: ${{ github.ref }} | |
draft: false | |
prerelease: false | |
release-binaries: | |
name: Publish binaries | |
runs-on: ubuntu-latest | |
needs: release | |
strategy: | |
matrix: | |
goos: | |
- darwin | |
- linux | |
- windows | |
goarch: | |
- amd64 | |
- arm | |
- arm64 | |
exclude: | |
- goos: darwin | |
goarch: arm | |
- goos: darwin | |
goarch: arm64 | |
- goos: windows | |
goarch: arm64 | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
- name: | |
uses: wangyoucao577/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
goos: ${{ matrix.goos }} | |
goarch: ${{ matrix.goarch }} | |
project_path: ./cmd/h2static | |
binary_name: h2static | |
extra_files: CHANGES.md LICENSE server/assets/logo.svg README.md | |
md5sum: false | |
sha256sum: true |