Skip to content

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

Merged
merged 14 commits into from
Feb 28, 2024

Conversation

kraenhansen
Copy link
Member

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.

@kraenhansen kraenhansen self-assigned this Feb 28, 2024
@cla-bot cla-bot bot added the cla: yes label Feb 28, 2024
- 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
Copy link
Member Author

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
Copy link
Member Author

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.

Copy link
Contributor

@kneth kneth left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it needed?

Copy link
Member Author

@kraenhansen kraenhansen Feb 28, 2024

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.

@kraenhansen kraenhansen merged commit 897b222 into channel/major-14 Feb 28, 2024
@kraenhansen kraenhansen deleted the kh/build-workflow branch February 28, 2024 14:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants