Skip to content

switched github action release #6

switched github action release

switched github action release #6

Workflow file for this run

name: Compile and Release Plugin
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version: "1.20"
cache: false
- name: Compile Plugin
run: |
go build -o check.so -buildmode=plugin main.go
- name: Create Release
id: create_release
uses: ncipollo/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false
artifacts: "check.so"