mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
feat: ci
This commit is contained in:
parent
80b1fb51ee
commit
4206539830
1 changed files with 32 additions and 0 deletions
32
.github/workflows/build.yaml
vendored
Normal file
32
.github/workflows/build.yaml
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
|
||||
- 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue