Files
momentry_core/.gitea/workflows/release.yml
T

23 lines
553 B
YAML

name: Release
on:
push:
tags: ['v*']
jobs:
build-and-release:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Build Release
run: cargo build --release
- name: Run Full Tests
run: cargo test
- name: Create Release
run: |
cp target/release/momentry ./momentry-${{ github.ref_name }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: momentry-${{ github.ref_name }}
path: momentry-${{ github.ref_name }}