Skip to content

fix-test: Disable CGO #59

fix-test: Disable CGO

fix-test: Disable CGO #59

Workflow file for this run

# .github/workflows/main.yml
name: Liman Render Engine Build
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Getting Go Binaries
uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: Build Application
run: |
go get -u && go mod tidy
CGO_ENABLED=0 go build -o liman_render
- name: Create Zip
run: |
zip -r /tmp/liman_render-${{ github.run_number }}.zip liman_render
- name: Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
files: /tmp/liman_render-${{ github.run_number }}.zip
name: "Release ${{ github.run_number }}"
tag_name: "release.${{ github.run_number }}"