-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
3 changed files
with
60 additions
and
4 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,41 @@ | ||
name: Prebuild for Linux x64 With Openssl 1 instead of Openssl 3 | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-for-linux: | ||
runs-on: ubuntu-22.04 | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: npm | ||
node-version: 18 | ||
- name: Install toolkit | ||
run: npm ci | ||
- name: Set Electron Major version in env | ||
run: echo "ELECTRON_MAJOR_VERSION=$(node get-electron-major-version.js)" >> $GITHUB_ENV | ||
- name: Download artifact | ||
id: download-artifact | ||
uses: dawidd6/action-download-artifact@v2 | ||
with: | ||
# Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed | ||
# Required, if the artifact is from a different repo | ||
# Required, if the repo is private a Personal Access Token with `repo` scope is needed or GitHub token in a job where the permissions `action` scope set to `read` | ||
github_token: ${{secrets.GITHUB_TOKEN}} | ||
# Optional, workflow file name or ID | ||
# If not specified, will be inferred from run_id (if run_id is specified), or will be the current workflow | ||
workflow: discover-and-prepare-upstream-native-modules.yml | ||
# Optional, the status or conclusion of a completed workflow to search for | ||
# Can be one of a workflow conclusion: | ||
# "failure", "success", "neutral", "cancelled", "skipped", "timed_out", "action_required" | ||
# Or a workflow status: | ||
# "completed", "in_progress", "queued" | ||
# Use the empty string ("") to ignore status or conclusion in the search | ||
workflow_conclusion: success | ||
name: modulesToBuildForElectron-${{ env.ELECTRON_MAJOR_VERSION }} | ||
- name: Build native modules on Linux x64 | ||
run: npm run rebuild-custom-for-target |
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