Skip to content

Commit d21498d

Browse files
authored
Update publish.yml
1 parent 8ce4b2d commit d21498d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish
22

33
on:
4-
push:
4+
create:
55
tags:
66
- '*'
77

@@ -12,15 +12,9 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
# - os: ubuntu-latest
16-
# artifact_name: openworld-desktop.Appimage
17-
# asset_name: openworld-desktop-linux-amd64
1815
- os: windows-latest
1916
artifact_name: openworld-desktop.exe
2017
asset_name: openworld-desktop-windows-amd64
21-
# - os: macos-latest
22-
# artifact_name: openworld-desktop.pkg
23-
# asset_name: openworld-desktop-macos-amd64
2418

2519
steps:
2620
- uses: actions/checkout@v2
@@ -39,10 +33,9 @@ jobs:
3933
run: npm run build
4034

4135
- name: Upload binaries
42-
working-directory: openworld-desktop
4336
uses: svenstaro/upload-release-action@v2
4437
with:
4538
repo_token: ${{ secrets.GITHUB_TOKEN }}
46-
file: public/${{ matrix.artifact_name }}
39+
file: openworld-desktop/dist/${{ matrix.artifact_name }}
4740
asset_name: ${{ matrix.asset_name }}
4841
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)