Skip to content

Conversation

@mrlacey
Copy link
Contributor

@mrlacey mrlacey commented May 10, 2022

Addresses #2

This packs all experiments separately without having to list them explicitly

Implemented as a PowerShell script as actions can't easily do loops through directories.
Alternatives involve adding an external workflow (either as a dependency or to do "clever" (hard to understand/debug/maintain) nested workflows with a matrix.)

mrlacey added 2 commits May 11, 2022 10:01
and search for sln files explicitly
rather than the sln
@michael-hawker michael-hawker mentioned this pull request May 11, 2022
7 tasks
@michael-hawker
Copy link
Member

rebased on main, so we should see clean build

@michael-hawker
Copy link
Member

@mrlacey looks like the relative path is misconfigured.

working-directory: ./labs/CanvasLayout/src
run: msbuild -t:pack /p:Configuration=Release /p:DebugType=Portable
# Build All Packages
- name: pack experiments
Copy link
Member

Choose a reason for hiding this comment

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

Question for later: Do we want to even try packing the experiments unless this is a merge to main? i.e. add the if: ${{github.ref == 'refs/heads/main'}} condition we do on the push below? Considering we're building them above, do we foresee running into different issues on the pack command? Don't know how long this step will take overall as we get more experiments.

Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

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

Think we're good. We'll see what happens when it pushes packages from main! 🤞

@michael-hawker michael-hawker merged commit e40309b into main May 13, 2022
@delete-merged-branch delete-merged-branch bot deleted the PackAllExperiments branch May 13, 2022 20:04
Martin1994 pushed a commit to Martin1994/Labs-Windows that referenced this pull request Sep 2, 2023
* Pack all experiments

* pack experiments in WinUI3 build too

* fix rogue newline char

* simplify script

and search for sln files explicitly

* pack individual projects

rather than the sln

* move to common scripts folder

* Pack all experiments

* pack experiments in WinUI3 build too

* fix rogue newline char

* simplify script

and search for sln files explicitly

* pack individual projects

rather than the sln

* move to common scripts folder

* fix relative path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants