-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update build-on-create-release.yml * Update build-on-create-release.yml * Feature: Support material test Support material test * Feature: Support material test not support auto delete * Feature: Support material test fix cannot genarate gcode bug * Feature: Support material test fix cannot genarate gcode bug * Feature: Support material test new alpha version * Feature: Support material test update nightly build relaese id * Fix: Nightly build fix Nightly build fix * Update build-on-pull-request.yml * Fix: Nightly build fix Nightly build fix * Fix: Rollback workflow Rollback workflow * Fix: Rollback workflow Rollback workflow * Fix: Remove excess logs Remove excess logs
- Loading branch information
1 parent
f166ded
commit 609ecf4
Showing
23 changed files
with
460 additions
and
42 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 |
---|---|---|
|
@@ -37,6 +37,13 @@ jobs: | |
with: | ||
node-version: 16 | ||
|
||
- name: install | ||
run: | | ||
npm install -g npm@^9 | ||
npm install | ||
- name: build | ||
run: npm run build | ||
|
||
- name: Init Props | ||
run: | | ||
$PRODUCT_NAME="Snapmaker Luban" | ||
|
@@ -45,13 +52,6 @@ jobs: | |
$RELEASE="$PACKAGE_NAME-$PACKAGE_VERSION" | ||
echo "SM_RELEASE=$RELEASE" >> $env:GITHUB_ENV | ||
- name: install | ||
run: | | ||
npm install -g npm@^9 | ||
npm install | ||
- name: build | ||
run: npm run build | ||
|
||
# ---------------------------------------------------------------- | ||
# Build Windows x64 | ||
# ---------------------------------------------------------------- | ||
|
@@ -70,6 +70,7 @@ jobs: | |
- name: Deploy Windows release | ||
uses: WebFreak001/[email protected] | ||
with: | ||
overwrite: true | ||
upload_url: https://uploads.github.com/repos/Snapmaker/Luban/releases/180614211/assets{?name,label} | ||
release_id: 180614211 | ||
asset_path: ${{ github.workspace }}/output/${{ env.SM_RELEASE }}-win-x64.exe | ||
|
@@ -95,7 +96,7 @@ jobs: | |
run: git submodule update --init --recursive | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
|
||
|
@@ -108,6 +109,14 @@ jobs: | |
with: | ||
node-version: 16 | ||
|
||
# install setuptools to reintroduce distutils missing in Python 3.12 | ||
# https://github.com/nodejs/node-gyp/issues/2869 | ||
- run: pip install setuptools | ||
- run: npm install -g npm@^9 | ||
- run: npm install | ||
|
||
- run: npm run build | ||
|
||
- name: Init Props | ||
run: | | ||
PRODUCT_NAME="Snapmaker Luban" | ||
|
@@ -116,13 +125,6 @@ jobs: | |
RELEASE=${PACKAGE_NAME}-${PACKAGE_VERSION} | ||
echo "SM_RELEASE=$RELEASE" >> $GITHUB_ENV | ||
# install setuptools to reintroduce distutils missing in Python 3.12 | ||
# https://github.com/nodejs/node-gyp/issues/2869 | ||
- run: pip install setuptools | ||
- run: npm install -g npm@^9 | ||
- run: npm install | ||
|
||
- run: npm run build | ||
# ---------------------------------------------------------------- | ||
# Build macOS x64 & arm64 | ||
|
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
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
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
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
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
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.