Skip to content

Commit

Permalink
Updating release action
Browse files Browse the repository at this point in the history
  • Loading branch information
SasaKaranovic committed Mar 16, 2024
1 parent e60b966 commit 27be798
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/zip-release@0.7.5
with:
type: 'zip'
directory: ${{ github.workspace }}\Artifacts\VUServer
filename: 'VUServer.zip'
exclusions: '*.git* /*node_modules/* .editorconfig'
uses: thedoctor0/zip-release@0.7.5
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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 27be798

Please sign in to comment.