-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e60b966
commit 27be798
Showing
1 changed file
with
13 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,20 +64,13 @@ jobs: | |
--noconsole | ||
server.py | ||
- uses: ksm2/archive-action@v1 | ||
id: archive | ||
with: | ||
format: "zip" | ||
name: VU_Server | ||
root-directory: ${{ github.workspace }}\Artifacts\VUServer | ||
|
||
- name: Archive Release | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
directory: ${{ github.workspace }}\Artifacts\VUServer | ||
filename: 'VUServer.zip' | ||
exclusions: '*.git* /*node_modules/* .editorconfig' | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
path: VUServer | ||
directory: ${{ github.workspace }}\Artifacts | ||
filename: 'VUServer.zip' | ||
|
||
# We are currently limited to offline signing. | ||
# So we are skipping the online installer creation | ||
|
@@ -90,6 +83,9 @@ jobs: | |
# run: | | ||
# makensis /DINSTALLEROUTPUT="${{ github.workspace }}\Artifacts\VU1-Installer.exe" /DDIRDIST="${{ github.workspace }}\Artifacts\VUServer" /DDIRSOURCE="${{ github.workspace }}" ${{ github.workspace }}\installer\install.nsi | ||
|
||
- run: dir ${{ github.workspace }}\Artifacts\VUServer | ||
- run: dir ${{ github.workspace }}\Artifacts | ||
- run: dir ${{ github.workspace }} | ||
|
||
## Upload installer | ||
#- name: Upload build artifact | ||
|
@@ -101,12 +97,9 @@ jobs: | |
|
||
# Create the release: https://github.com/softprops/action-gh-release | ||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
files: ${{ github.workspace }}\Artifacts\VUServer\VUServer.zip | ||
artifacts: "${{ github.workspace }}\\Artifacts\\VUServer.zip" | ||
body: "Draft release" | ||
draft: true | ||
body: | | ||
Changes in this Release | ||
- First Change | ||
- Second Change | ||
allowUpdates: true |