30 lines
672 B
YAML
30 lines
672 B
YAML
name: Build
|
|
run-name: Im about to BUILLLLDDDDDDD
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
# - name: install rust
|
|
#run: apt update
|
|
# - run: apt install cargo golang -y
|
|
# - run: cargo build --release
|
|
- name: setup go
|
|
uses: https://github.com/actions/setup-go@v4
|
|
with:
|
|
go-version: '>=1.20.1'
|
|
- name: Use Go Action
|
|
uses: https://gitea.com/actions/release-action@main
|
|
with:
|
|
files: |-
|
|
main.rs
|
|
api_key: '${{secrets.RELEASE_TOKEN}}'
|
|
|