Skip to main content

Add a workflow to build on pushed tags

ID
beab2fd
date
2024-05-17 06:53:02+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
08d21ae
message
Add a workflow to build on pushed tags
changed files
1 file, 17 additions

Changed files

.github/workflows/upload_binaries.yml (0) → .github/workflows/upload_binaries.yml (323)

diff --git a/.github/workflows/upload_binaries.yml b/.github/workflows/upload_binaries.yml
new file mode 100644
index 0000000..d4b163c
--- /dev/null
+++ b/.github/workflows/upload_binaries.yml
@@ -0,0 +1,17 @@
+name: Upload binaries
+
+on:
+  push:
+    tags:
+      - v[0-9]+.*
+
+jobs:
+  create-release:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: taiki-e/create-gh-release-action@v1
+        with:
+          changelog: CHANGELOG.md
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}