upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2023-05-21 13:14:38 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2023-05-21 13:14:38 +0000
commit7d50d66d21bcaac39ad1d422d1da3167e98f8a40 (patch)
tree7493afb7d008e77099fbad2b30082f777d20ba9c /.github/workflows
parentba3e447c928303de0a008a47ba237145f436b8aa (diff)
github action for binary productionv0.0.1
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..7e64456
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,45 @@
1name: Release
2
3permissions:
4 contents: write
5
6on:
7 push:
8 tags:
9 - v[0-9]+.*
10
11jobs:
12 create-release:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v3
16 - uses: taiki-e/create-gh-release-action@v1
17 with:
18 # (required) GitHub token for creating GitHub Releases.
19 token: ${{ secrets.GITHUB_TOKEN }}
20
21 upload-assets:
22 strategy:
23 matrix:
24 os:
25 - ubuntu-latest
26 - macos-latest
27 - windows-latest
28 runs-on: ${{ matrix.os }}
29 steps:
30 - uses: actions/checkout@v3
31 - uses: taiki-e/upload-rust-binary-action@v1
32 with:
33 # (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
34 # Note that glob pattern is not supported yet.
35 bin: ngit
36 # (optional) On which platform to distribute the `.tar.gz` file.
37 # [default value: unix]
38 # [possible values: all, unix, windows, none]
39 tar: unix
40 # (optional) On which platform to distribute the `.zip` file.
41 # [default value: windows]
42 # [possible values: all, unix, windows, none]
43 zip: windows
44 # (required) GitHub token for uploading assets to GitHub Releases.
45 token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file