-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #196 from Noita-Together/next
0.11.0
- Loading branch information
Showing
11 changed files
with
417 additions
and
126 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Deploy Linux Dev | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'dev-*' | ||
|
||
#for uploading release exe | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: dev | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Create env file' | ||
working-directory: ${{ github.workspace }}/nt-app/ | ||
run: | | ||
touch .env | ||
echo VUE_APP_HOSTNAME=${{ vars.VUE_APP_HOSTNAME }} >> .env | ||
echo VUE_APP_NT_LOGIN_URL=${{ vars.VUE_APP_NT_LOGIN_URL }} >> .env | ||
echo VUE_APP_LOBBY_SERVER_WS_URL_BASE=${{ vars.VUE_APP_LOBBY_SERVER_WS_URL_BASE }} >> .env | ||
cat .env | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: yarn install | ||
- run: yarn workspace nt-app electron:build --publish never | ||
- run: ls ${{ github.workspace }}/nt-app/dist_electron/ | ||
- working-directory: "${{ github.workspace }}/nt-app/dist_electron/" | ||
run: | | ||
mkdir ${{ github.workspace }}/build | ||
cp ./latest-linux.yml ${{ github.workspace }}/build/latest-linux.yml | ||
cp ./*.AppImage ${{ github.workspace }}/build/ | ||
- name: Upload files to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ github.workspace }}/build/* | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Deploy Linux Production | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
#for uploading release exe | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: prod | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Create env file' | ||
working-directory: ${{ github.workspace }}/nt-app/ | ||
run: | | ||
touch .env | ||
echo VUE_APP_HOSTNAME=${{ vars.VUE_APP_HOSTNAME }} >> .env | ||
echo VUE_APP_NT_LOGIN_URL=${{ vars.VUE_APP_NT_LOGIN_URL }} >> .env | ||
echo VUE_APP_LOBBY_SERVER_WS_URL_BASE=${{ vars.VUE_APP_LOBBY_SERVER_WS_URL_BASE }} >> .env | ||
cat .env | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- run: yarn install | ||
- run: yarn workspace nt-app electron:build --publish never | ||
- run: ls ${{ github.workspace }}/nt-app/dist_electron/ | ||
- working-directory: "${{ github.workspace }}/nt-app/dist_electron/" | ||
run: | | ||
mkdir ${{ github.workspace }}/build | ||
cp ./latest-linux.yml ${{ github.workspace }}/build/latest-linux.yml | ||
- name: Upload files to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ github.workspace }}/build/* | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Deploy Windows Dev | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'dev-*' | ||
|
||
#for uploading release exe | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
environment: dev | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Create env file' | ||
working-directory: ${{ github.workspace }}/nt-app/ | ||
run: | | ||
touch .env | ||
echo VUE_APP_HOSTNAME=${{ vars.VUE_APP_HOSTNAME }} >> .env | ||
echo VUE_APP_NT_LOGIN_URL=${{ vars.VUE_APP_NT_LOGIN_URL }} >> .env | ||
echo VUE_APP_LOBBY_SERVER_WS_URL_BASE=${{ vars.VUE_APP_LOBBY_SERVER_WS_URL_BASE }} >> .env | ||
cat .env | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- 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-*.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: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ github.workspace }}/build/* | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Deploy Windows Production | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
#for uploading release exe | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
environment: prod | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Create env file' | ||
working-directory: ${{ github.workspace }}/nt-app/ | ||
run: | | ||
touch .env | ||
echo VUE_APP_HOSTNAME=${{ vars.VUE_APP_HOSTNAME }} >> .env | ||
echo VUE_APP_NT_LOGIN_URL=${{ vars.VUE_APP_NT_LOGIN_URL }} >> .env | ||
echo VUE_APP_LOBBY_SERVER_WS_URL_BASE=${{ vars.VUE_APP_LOBBY_SERVER_WS_URL_BASE }} >> .env | ||
cat .env | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- 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-*.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: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ github.workspace }}/build/* | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
file_glob: true |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.