Compare commits

..

3 Commits

Author SHA1 Message Date
FinnHornhoover 76e47814a5
Merge ec7f494f41 into b6f676a50f 2024-04-02 05:23:34 -05:00
CakeLancelot b6f676a50f Tag 1.5.2 2024-04-02 05:20:05 -05:00
CakeLancelot 01ee292d10 Introduce automatic artifact building and publishing 2024-04-02 05:06:06 -05:00
4 changed files with 51 additions and 5 deletions

46
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,46 @@
name: Publish Build
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Set up Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Pack into zip and create installer
run: npm run dist
- name: Upload Artifacts
uses: actions/upload-artifact@master
with:
path: dist
publish-release:
if: github.ref_type == 'tag'
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"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity type="win32" name="OpenFusion.Client" version="1.5.0.0" processorArchitecture="x86" />
<assemblyIdentity type="win32" name="OpenFusion.Client" version="1.5.2.0" processorArchitecture="x86" />
<dependency>
<dependentAssembly>
<assemblyIdentity type="Win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*">

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "OpenFusionClient",
"version": "1.5.1",
"version": "1.5.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "OpenFusionClient",
"version": "1.5.1",
"version": "1.5.2",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {

View File

@ -1,13 +1,13 @@
{
"name": "OpenFusionClient",
"version": "1.5.1",
"version": "1.5.2",
"description": "OpenFusionClient",
"main": "index.js",
"scripts": {
"postinstall": "npx patch-package && npm explore electron-prebuilt -- npm run postinstall",
"start": "electron .",
"pack": "electron-builder --win --ia32 --dir",
"dist": "electron-builder --win --ia32",
"dist": "electron-builder --win --ia32 --publish=never",
"prettier": "npx prettier --write ."
},
"author": "OpenFusion Contributors",