aboutsummaryrefslogtreecommitdiff
path: root/.gitea
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2024-01-18 11:56:19 +0000
committerdiogo464 <[email protected]>2024-01-18 11:56:19 +0000
commitf8d8aaa035dd27c5bb33c1654d94b5b8612586d8 (patch)
treef1d6d6808c60e78ac2d37161d804946d2597b8ce /.gitea
parent5b48457beb82b38f1a003af1ee34a3a7ad291af1 (diff)
added release workflow
Diffstat (limited to '.gitea')
-rw-r--r--.gitea/workflows/release.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml
new file mode 100644
index 0000000..6e6b322
--- /dev/null
+++ b/.gitea/workflows/release.yaml
@@ -0,0 +1,21 @@
1name: release
2on:
3 push:
4 tags:
5 - "[0-9]+.[0-9+]+.[0-9]+*"
6jobs:
7 release:
8 runs-on: [fedora-latest]
9 steps:
10 - name: Checkout repository
11 uses: actions/checkout@v4
12 - uses: dtolnay/rust-toolchain@nightly
13 - name: Build
14 run: VERSION=${{github.ref_name}} ./dist.sh
15 - name: Create release
16 id: create-release
17 uses: https://git.d464.sh/actions/release@v1
18 with:
19 token: ${{ secrets.AUTH_TOKEN }}
20 tag: ${{github.ref_name}}
21 name: ${{github.ref_name}}