Skip to content

Commit

Permalink
fix copy issues after build
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyeOfBreeze authored Jul 21, 2024
1 parent 66b92b3 commit a604e68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/deploy-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,13 @@ jobs:
with:
node-version: 16
- run: yarn install
- name: Get version from tag
id: get_tag_version
run: echo ::set-output name=version::${{ github.ref }}
- name: Set package.json version
run: |
npm version ${{ steps.get_tag_version.outputs.version }}#app-
working-directory: ./nt-app
- run: yarn install
- run: yarn workspace nt-app electron:build --publish never
- run: ls ${{ github.workspace }}/nt-app/dist_electron/
- run: |
mkdir ${{ github.workspace }}/build
cp "${{ github.workspace }}/nt-app/dist_electron/latest.yml" ${{ github.workspace }}/build/latest.yml
cp "${{ github.workspace }}/nt-app/dist_electron/Noita Together Setup ${{ steps.get_tag_version.outputs.version }}.exe" ${{ github.workspace }}/build/Noita-Together-Setup-${{ steps.get_tag_version.outputs.version }}.exe
cp "${{ github.workspace }}/nt-app/dist_electron/Noita Together Setup ${{ steps.get_tag_version.outputs.version }}.exe.blockmap" ${{ github.workspace }}/build/Noita-Together-Setup-${{ steps.get_tag_version.outputs.version }}.exe.blockmap
cp "${{ github.workspace }}/nt-app/dist_electron/Noita-Together-Setup-*.exe" ${{ github.workspace }}/build/
cp "${{ github.workspace }}/nt-app/dist_electron/Noita-Together-Setup-*.exe.blockmap" ${{ github.workspace }}/build/
- name: Upload files to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion nt-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nt-app",
"version": "0.10.11",
"version": "0.10.11-beta6",
"author": "Noita-Together",
"description": "Allows you to play noita with friends...",
"repository": "https://github.com/Noita-Together/noita-together",
Expand Down

0 comments on commit a604e68

Please sign in to comment.