aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-01-06 14:11:55 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-01-06 14:11:55 +0100
commita685cc35a038e1dc6f8741540cae3f128871d05c (patch)
treea6b5540bf0c862e94544c2fe0f4b495f66377d96 /.github/workflows/release.yml
parent53ce2c57f762b0d1967633a815a3dcb08b4bc268 (diff)
Introduce a GitHub Workflow to build a binary packages
This workflow will specifically build a package for amd64 machines using a GNU libc, but allows for extending into other territories later on. Using this, we *should* be able to automatically build for Windows and Mac users too, solving that problem forever if someone wants to spend some time setting it up. Once other architectures for Linux-based systems gets introduced on GitHub Actions, these could be build in a similar manner too.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..f73f61c
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,26 @@
+name: Release
+
+on:
+ push:
+ tags:
+ - '*'
+ - '!*-rc*'
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Release
+ uses: actions/create-release@v1
+ env:
+ GITHUB_TOKEN: ${{ github.token }}
+ with:
+ tag_name: ${{ github.ref }}
+ release_name: ${{ github.ref }}
+ body: |
+ This is just a drill, don't panic!
+ draft: true
+ prerelease: false