adding Gofunc param to NewLineTable() -- pclntab.go #96
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: Build All | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.21.0' | |
- run: go version | |
- name: Windows Build | |
run: | | |
$Env:GOOS='windows' | |
go build -o GoReSym.exe | |
Compress-Archive -DestinationPath GoReSym-windows.zip -LiteralPath ./GoReSym.exe -CompressionLevel Fastest | |
Remove-Item ./GoReSym.exe | |
- name: Linux Build | |
run: | | |
$Env:GOOS='linux' | |
go build -o GoReSym | |
Compress-Archive -DestinationPath GoReSym-linux.zip -LiteralPath ./GoReSym -CompressionLevel Fastest | |
Remove-Item ./GoReSym | |
- name: Mac Build | |
run: | | |
$Env:GOOS='darwin' | |
go build -o GoReSym | |
Compress-Archive -DestinationPath GoReSym-mac.zip -LiteralPath ./GoReSym -CompressionLevel Fastest | |
Remove-Item ./GoReSym | |
- name: Release Windows | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: GoReSym-windows.zip | |
- name: Release Linux | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: GoReSym-linux.zip | |
- name: Release Mac | |
uses: softprops/[email protected] | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: GoReSym-mac.zip |