Skip to content

fix zxinc dump error (#11) #5

fix zxinc dump error (#11)

fix zxinc dump error (#11) #5

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
env:
ENABLE_UPX: 1
jobs:
release:
name: Release Binary
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.21'
- name: Cache go module
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- name: Build Package
run: |
./script/package.sh
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: packages/*
draft: true
prerelease: true