diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2b47640..506bb38 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -3,6 +3,7 @@ name: Publish Build
on:
push:
branches: [ "main" ]
+ tags: '*'
permissions:
contents: write
@@ -12,9 +13,11 @@ jobs:
runs-on: windows-2022
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Set up Node.js 20.x
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
@@ -28,20 +31,17 @@ jobs:
path: dist
publish-release:
- if: startsWith(github.ref, 'refs/tags/v')
+ if: contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@master
- - name: Unzip artifact
- run: unzip artifact.zip
- name: Create release
uses: ncipollo/release-action@v1
with:
- artifacts: "*-ia32-win.zip,*.exe"
+ artifacts: "artifact/*-ia32-win.zip,artifact/*.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
diff --git a/build/OpenFusionClient.exe.manifest b/build/OpenFusionClient.exe.manifest
index 9fecf7e..4f3cbb3 100644
--- a/build/OpenFusionClient.exe.manifest
+++ b/build/OpenFusionClient.exe.manifest
@@ -1,6 +1,6 @@
- ©2020-2023 OpenFusion Contributors
OpenFusion
+ ©2020-2024 OpenFusion Contributors
OpenFusion
is licensed under MIT.