forked from kenmingwang/azusa-player
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc54fae
commit ae8e8a8
Showing
5 changed files
with
57 additions
and
48 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,43 @@ | ||
name: build check | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- name: Setup Yarn | ||
uses: threeal/[email protected] | ||
|
||
- name: Install dependencies | ||
run: yarn; git submodule update --init --recursive | ||
|
||
- name: 'Create env file' | ||
run: | | ||
echo "${{ secrets.ENV_FILE }}" > .env | ||
- name: yarn build | ||
run: | | ||
yarn build | ||
zip -r NoxPlayer.zip build | ||
- name: pack crx | ||
uses: cardinalby/webext-buildtools-chrome-crx-action@v2 | ||
with: | ||
# zip file made at the packExtensionDir step | ||
zipFilePath: 'NoxPlayer.zip' | ||
crxFilePath: 'NoxPlayer.crx' | ||
privateKey: ${{ secrets.PEM_KEY }} |
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
outputs: | ||
should_run: ${{ steps.should_run.outputs.should_run }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: print latest_commit | ||
run: echo ${{ github.sha }} | ||
|
||
|
@@ -45,12 +45,12 @@ jobs: | |
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
node-version: '20' | ||
|
||
- name: Setup Yarn | ||
uses: threeal/[email protected] | ||
|
@@ -67,12 +67,9 @@ jobs: | |
echo "${{ secrets.ENV_FILE }}" > .env | ||
- name: yarn build | ||
run: yarn build | ||
|
||
- name: zip | ||
uses: montudor/action-zip@v1 | ||
with: | ||
args: zip -qq -r NoxPlayer.zip build | ||
run: | | ||
yarn build | ||
zip -r NoxPlayer.zip build | ||
- name: pack crx | ||
uses: cardinalby/webext-buildtools-chrome-crx-action@v2 | ||
|
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get Tag | ||
id: get_tag | ||
|
@@ -22,9 +22,9 @@ jobs: | |
run: echo "${{ steps.get_tag.outputs.tag }}" | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
node-version: '20' | ||
|
||
- name: Setup Yarn | ||
uses: threeal/[email protected] | ||
|
@@ -54,12 +54,9 @@ jobs: | |
echo "Commit Tag: $COMMIT_TAG" | ||
- name: yarn build | ||
run: yarn build | ||
|
||
- name: zip | ||
uses: montudor/action-zip@v1 | ||
with: | ||
args: zip -qq -r NoxPlayer.zip build | ||
run: | | ||
yarn build | ||
zip -r NoxPlayer.zip build | ||
- name: pack crx | ||
uses: cardinalby/webext-buildtools-chrome-crx-action@v2 | ||
|
This file was deleted.
Oops, something went wrong.
Submodule azusa-player-mobile
updated
11 files