Bump copyright date to 2024 and version to 1.5.2; update build.yml

This commit is contained in:
CakeLancelot
2024-04-02 05:12:41 -05:00
parent 01ee292d10
commit b5ab9aad2d
5 changed files with 12 additions and 12 deletions

View File

@@ -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 }}