fix Int63n panic #77
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: goreleaser | |
on: | |
pull_request: | |
push: | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- | |
name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.17 | |
- | |
name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
# either 'goreleaser' (default) or 'goreleaser-pro' | |
distribution: goreleaser | |
version: latest | |
args: release --rm-dist --config ${{ github.workspace }}/.github/goreleaser.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution | |
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} | |
- | |
name: Upload artifact dms_linux_amd64 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_linux_amd64 | |
path: dist/my-build_linux_amd64/dms | |
- | |
name: Upload artifact dms_linux_386 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_linux_386 | |
path: dist/my-build_linux_386/dms | |
- | |
name: Upload artifact dms_linux_arm_6 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_linux_arm_6 | |
path: dist/my-build_linux_arm_6/dms | |
- | |
name: Upload artifact dms_linux_arm_7 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_linux_arm_7 | |
path: dist/my-build_linux_arm_7/dms | |
- | |
name: Upload artifact dms_darwin_arm64 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_darwin_arm64 | |
path: dist/my-build_darwin_arm64/dms | |
- | |
name: Upload artifact dms_darwin_amd64 | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_darwin_amd64 | |
path: dist/my-build_darwin_amd64/dms | |
- | |
name: Upload artifact dms_windows_arm.exe | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_windows_arm | |
path: dist/my-build_windows_arm/dms.exe | |
- | |
name: Upload artifact dms_windows_amd64.exe | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_windows_amd64 | |
path: dist/my-build_windows_amd64/dms.exe | |
- | |
name: Upload artifact dms_windows_386.exe | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dms_windows_386 | |
path: dist/my-build_windows_386/dms.exe |