Files
tm_interpreter/.gitea/workflows/release.yaml
nichkara fd74b62df2
All checks were successful
Release on main branches / build (ubuntu-20.04) (push) Successful in 45s
Initializing rust environment. / build (ubuntu-20.04) (push) Successful in 47s
Testing automatic releases
2025-09-20 19:28:34 +02:00

42 lines
781 B
YAML

name: Release on main branches
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update system
run: |
apt-get update -qy
- name: Install dependencies
run: |
apt-get install -y curl gcc git
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > ./rustup.sh
chmod +x rustup.sh
./rustup.sh -y
- name: Build release
run: |
. "$HOME/.cargo/env"
cargo build --release
# publish:
# image: woodpeckerci/plugin-release
# settings:
# files:
# - ''
# api_key:
# from_secret: ACCESS_TOKEN