Testing automatic releases
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

This commit is contained in:
nichkara
2025-09-20 19:28:34 +02:00
parent c7ef45ca9e
commit fd74b62df2
2 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
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