Uh oh!
There was an error while loading. Please reload this page.
Add a workflow to build and upload the runner - #266
Conversation
rneatherway
commented
Oct 13, 2020
I suggest just using codeql-action/.github/workflows/split.yml Lines 65 to 73 in ffaa8aa Keep it separate though as |
1c7f052 to
d91d2d2Compare7636ec9 to
c1e2c53Comparerneatherway
commented
Oct 20, 2020
I've tested this using the
Once this is merged I will delete the test release. |
chrisgavin
left a comment
There was a problem hiding this comment.
One small change, but otherwise it looks good to me.
| extension: ["linux", "macos", "win.exe"] | ||
| steps: | ||
| - uses: actions/checkout@v2 |
There was a problem hiding this comment.
| - uses: actions/checkout@v2 | |
| - uses: actions/checkout@v2 | |
| with: | |
| ref: refs/tags/${{ github.event.inputs.bundle-tag }} |
It's potentially confusing to build the code from main and upload it as an artifact on a tagged release.
(It would be nice if we could just use the workflow from the release tag too, but workflows can't be dispatched on tags currently.)
There was a problem hiding this comment.
I've followed Robert's suggestion to make the bundle-tag optional, which now makes this a bit awkward. Do you see a way apart from having two calls to actions/checkout@2 each with an if?
There was a problem hiding this comment.
In the interests of getting a version of this ready I am going to merge. We can later update this if we see a way to resolve the inconsistency.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
robertbrignull
commented
Oct 20, 2020
Thanks for taking on the rest of this @rneatherway. |
…into robertbrignull/runner_workflow
52e7feb to
59913e8Compare
Instead of building the runner locally we should probably standardise on building it within actions to get a consistent environment. This PR introduces a workflow that just builds the runner and upload the artefacts.
I'm intending this currently state as just a starting point. A couple of open questions I have are:
pushor justworkflow_dispatch? I only addedpushso I could test it before merging to the default branch.split.yml? The primary use case for this is when doing a release, but it could be useful to be able to run separatetly too.@rneatherway
Merge / deployment checklist