feat: upgrade #19
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: Auto Release | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.23 | |
- name: Build | |
run: go build -v ./... | |
- name: Create new version | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git tag -a v${{ github.run_number }} -m "Auto release version ${{ github.run_number }}" | |
git push origin v${{ github.run_number }} |