diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml index d07cbfd..342544e 100644 --- a/.github/workflows/create_release.yaml +++ b/.github/workflows/create_release.yaml @@ -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 @@ -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