mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
32 lines
588 B
YAML
32 lines
588 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
strategy:
|
|
fail-fast: true
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: build
|
|
run: |
|
|
cargo build --release --all-features
|
|
|
|
- name: Zipping files
|
|
run: |
|
|
7z a ./pay-respects-ubuntu-latest.zip ./target/release/pay-respects
|
|
|
|
- name: Uploading to release
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
artifacts: pay-respects-ubuntu-latest.zip
|
|
allowUpdates: true
|
|
makeLatest: true
|
|
|