Skip to content

Build Release

Build Release #139

Workflow file for this run

on:
release:
types: [published]
jobs:
release:
name: Release Go Binary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Codebase security check
continue-on-error: true
uses: snyk/actions/golang@master
with:
go-version: '1.20'
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: setup dependencies
uses: actions/setup-go@v2
- name: release publish
run: make release
env:
MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }}
LILICO_TOKEN: ${{ secrets.LILICO_TOKEN }}
APP_VERSION: $(basename ${GITHUB_REF})
BUILD_TIME: $(date --iso-8601=seconds)
VERSION: ${{github.ref_name}}
COMMIT: ${{ github.sha }}
CGO_FLAGS: "-O2 -D__BLST_PORTABLE__"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}