-
Notifications
You must be signed in to change notification settings - Fork 7
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
CARE-265: Refactoring GitHub Actions workflows to DRY with common ones #30
Merged
Merged
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e08d566
Updating timheuer/vsix-version-stamp to latest
Piedone c2bbe11
And again
Piedone 2697915
Using central checkout action
Piedone 29801af
Adding name to the checkout step
Piedone fa488b4
Syntax fix
Piedone bfc350f
Using central msbuild workflow
Piedone 558d99d
Fixing action reference
Piedone 51f3abb
Intentional analyzer violation
Piedone 4e35fac
Revert "Intentional analyzer violation"
Piedone e9b3b4a
Adapting to action parameter rename
Piedone eb743fb
Fixing job name
Piedone 5135e4c
Fixing validate-pull-request trigger
Piedone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,8 @@ jobs: | |
runs-on: windows-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
- name: Checkout | ||
uses: Lombiq/GitHub-Actions/.github/actions/checkout@issue/CARE-265 | ||
|
||
- name: Build VSIX | ||
uses: ./.github/actions/build-vsix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,8 @@ jobs: | |
publish: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
- name: Checkout | ||
uses: Lombiq/GitHub-Actions/.github/actions/checkout@issue/CARE-265 | ||
|
||
- name: Set Version | ||
id: set-version | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is this entry needed in
$Env:GITHUB_OUTPUT
?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 is creating an output of the step, which is then used in the Build step. Since this value need so be produced in PS (or some other script), as opposed to simply using one of the GHA expressions (in which case it would be embedded in the assignment to
dotnet-build-switches
), we need a separate step to run this script.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.
Thanks. I see now that
directory
is used in the following step.