Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuaidehao committed Jun 16, 2024
1 parent 18842d9 commit 9faea10
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ jobs:


build:
name: Release/windows
name: Release/
# if: startsWith(github.ref, 'refs/heads/release/')
runs-on: windows-latest
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -33,17 +36,33 @@ jobs:
with:
node-version: ${{env.NODE_VERSION}}

- name: publish
- name: build windows
- if: matrix.os == 'windows-latest'
working-directory: neo3-gui/neo3-gui
env:
CI: false
run: sh publish.sh

- name: build mac
- if: matrix.os == 'macos-latest'
working-directory: neo3-gui/neo3-gui
env:
CI: false
run: sh publish.macos.sh

- name: Upload release files
- if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: release-win
path: neo3-gui/neo3-gui/ClientApp/build-electron/*.exe

- name: Upload Mac Release Files
- if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v4
with:
name: release-mac
path: neo3-gui/neo3-gui/ClientApp/build-electron/*.dmg



Expand Down

0 comments on commit 9faea10

Please sign in to comment.