-
Notifications
You must be signed in to change notification settings - Fork 43
Update build workflow and remove unused scripts #1629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3af5827
to
ae366ce
Compare
- name: Install wine | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
sudo apt-get update | ||
sudo apt install -y wine wine32 | ||
- name: Install dependencies | ||
run: npm ci --legacy-peer-deps |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems this isn't necessary after all.
@@ -28,14 +34,14 @@ jobs: | |||
- name: Setup Node | |||
uses: actions/setup-node@v3 | |||
with: | |||
node-version: 20 | |||
node-version: 18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aligning with the version used by the Electron dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bye, bye, Jenkins
npx electron-builder -lw --publish never --dir --x64 | ||
# Copying over the app-update.yml from Linux as it is skipped when using --dir | ||
# https://github.com/electron-userland/electron-builder/blob/79df54238621fbe48ba20444129950ba2dc49983/packages/app-builder-lib/src/publish/PublishManager.ts#L113-L115 | ||
cat dist/linux-unpacked/resources/app-update.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not strictly needed, but I wanted to be sure it exists (as it's relying on undocumented behaviour of electron-builder) and displaying its contents might help debugging future issues.
This updates the build workflow with a couple of fixes to issues discovered while publishing and removes scripts that are no longer used as we've transitioned to GitHub actions.