rsa/.gitea/workflows/build.yaml
spv 8cddfe0bd7
All checks were successful
Build / release (push) Successful in 1m3s
bruh
Signed-off-by: spv <spv0x04@proton.me>
2024-07-26 13:37:25 +02:00

32 lines
776 B
YAML

name: Build
run-name: Im about to BUILLLLDDDDDDD
on:
push:
branches:
- 'master'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install Rust
run: apt update && apt install cargo -y
- name: Build
run: cargo build --release
- name: Hash Release
id: get-hash
run: |
echo "TAG_NAME=$(cat VERSION.txt)" >> $GITHUB_OUTPUT
- name: Publish
uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--trace-warnings'
with:
sha256sum: true
body_path: ./CHANGES.md
tag_name: '${{steps.get-hash.outputs.TAG_NAME}}'
files: |-
./target/release/rsa