-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:V-Paranoiaque/Ellas-War
- Loading branch information
Showing
13 changed files
with
139 additions
and
98 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,65 @@ | ||
name: Build all files | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
prepare: | ||
uses: ./.github/workflows/workflow-release-prepare.yml | ||
secrets: inherit | ||
with: | ||
node: 20 | ||
|
||
#X64 Arch | ||
package-x64: | ||
uses: ./.github/workflows/workflow-release-linux.yml | ||
secrets: inherit | ||
needs: prepare | ||
with: | ||
electron: 3.1.0 | ||
node: 20 | ||
|
||
#X86 Arch | ||
package-x86: | ||
uses: ./.github/workflows/workflow-release-linux-x86.yml | ||
secrets: inherit | ||
needs: prepare | ||
with: | ||
electron: 3.1.0 | ||
node: 20 | ||
|
||
#arm64 Arch | ||
package-arm64: | ||
uses: ./.github/workflows/workflow-release-linux-arm64.yml | ||
secrets: inherit | ||
needs: prepare | ||
with: | ||
electron: 3.1.0 | ||
node: 20 | ||
|
||
#armhf Arch | ||
package-armv7l: | ||
uses: ./.github/workflows/workflow-release-linux-armhf.yml | ||
secrets: inherit | ||
needs: prepare | ||
with: | ||
electron: 3.1.0 | ||
node: 20 | ||
|
||
#Windows | ||
package-windows: | ||
uses: ./.github/workflows/workflow-release-windows.yml | ||
secrets: inherit | ||
needs: prepare | ||
with: | ||
electron: 3.1.0 | ||
node: 20 | ||
|
||
#Mac OS | ||
package-mac: | ||
uses: ./.github/workflows/workflow-release-mac.yml | ||
secrets: inherit | ||
needs: prepare | ||
with: | ||
electron: 3.1.0 | ||
node: 20 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Linux Arm64 | ||
name: Workflow Linux Arm64 | ||
|
||
on: | ||
workflow_call: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Linux x86 | ||
name: Workflow Linux x86 | ||
|
||
on: | ||
workflow_call: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Mac | ||
name: Workflow Mac | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -36,10 +36,9 @@ jobs: | |
npm install | ||
- name: Download the project | ||
uses: robinraju/[email protected] | ||
uses: actions/download-artifact@v4 | ||
with: | ||
latest: true | ||
fileName: "mobile.zip" | ||
name: "mobile.zip" | ||
- name: Extract the project | ||
run: unzip mobile.zip | ||
|
||
|
@@ -49,4 +48,4 @@ jobs: | |
cordova platform add electron@^${{ inputs.electron }} | ||
cordova build electron --no-telemetry --release | ||
env: | ||
GH_TOKEN: '${{ secrets.GH_TOKEN }}' | ||
GH_TOKEN: '${{ secrets.GH_TOKEN }}' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Windows | ||
name: Workflow Windows | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -150,10 +150,9 @@ jobs: | |
npm install | ||
- name: Download the project | ||
uses: robinraju/[email protected] | ||
uses: actions/download-artifact@v4 | ||
with: | ||
latest: true | ||
fileName: "mobile.zip" | ||
name: "mobile.zip" | ||
- name: Extract the project | ||
run: unzip mobile.zip | ||
|
||
|
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,36 @@ | ||
name: Zip | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
zip: | ||
name: "Publish Zip" | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Download the mobile project | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: "mobile.zip" | ||
- name: Download the web project | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: "web.zip" | ||
|
||
# Upload | ||
- name: Upload web zip file to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GH_TOKEN }} | ||
file: ./web.zip | ||
asset_name: web.zip | ||
tag: ${{ github.ref }} | ||
|
||
- name: Upload mobile zip file to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GH_TOKEN }} | ||
file: ./mobile.zip | ||
asset_name: mobile.zip | ||
tag: ${{ github.ref }} |
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