Skip to main content

Use GitHub Actions to upload binaries on releases

ID
55037d0
date
2022-04-03 16:45:02+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
9f962f3
message
Use GitHub Actions to upload binaries on releases
changed files
2 files, 41 additions

Changed files

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

diff --git a/.github/workflows/upload_binaries.yml b/.github/workflows/upload_binaries.yml
new file mode 100644
index 0000000..5385119
--- /dev/null
+++ b/.github/workflows/upload_binaries.yml
@@ -0,0 +1,35 @@
+name: Release
+
+on:
+  push:
+    tags:
+      - v[0-9]+.*
+
+jobs:
+  create-release:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - uses: taiki-e/create-gh-release-action@v1
+        with:
+          changelog: CHANGELOG.md
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+  upload-assets:
+    strategy:
+      matrix:
+        os:
+          - ubuntu-latest
+          - macos-latest
+          - windows-latest
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v3
+      - uses: taiki-e/upload-rust-binary-action@v1
+        with:
+          bin: vfd
+          tar: unix
+          zip: windows
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md (415) → CHANGELOG.md (519)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 48330ac..f22fee3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
 # Changelog
 
+## v1.1.1 - 2022-04-03
+
+Publish binaries as part of the GitHub releases.
+
+This has no feature changes.
+
 ## v1.1.0 - 2021-11-29
 
 Allow finding the dominant colour of GIFs.