-
Notifications
You must be signed in to change notification settings - Fork 16
chore: automated noports desktop builds #1626
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
base: trunk
Are you sure you want to change the base?
Conversation
on: | ||
push: | ||
branches: | ||
- trunk |
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.
This should be on tag d*.*.*
(d for desktop) & optionally on workflow_dispatch. We shouldn't rebuild the app everytime something is pushed to trunk
name: Windows Build | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 |
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.
See some of the other workflows, please use commit SHAs (for all of the uses statements)
- name: Build msix file with Dart SDK | ||
uses: dart-lang/setup-dart@v1 | ||
with: | ||
sdk: stable | ||
- run: dart run msix:create |
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.
prefer calling all of the setup environment uses
first, then do all of the run
s.
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.
You also don't need to setup dart if you've already setup flutter. Dart binary is installed with Flutter.
- What I did
Added automation build for msix for no ports Desktop
- How I did it
- How to verify it
- Description for the changelog