Skip to content

Referencing PSRule main branch #213

Answered by BernieWhite
Gordonby asked this question in Q&A
Discussion options

You must be logged in to vote

@Gordonby Sure no problem. You should get the latest version with the prerelease: true input parameter.

So try:

      - name: PSRule for Azure - Well Architected
        #uses: microsoft/[email protected]
        uses: microsoft/ps-rule@main
        continue-on-error: true #Setting this whilst PSRule gets bedded in, in this project
        with:
          modules: 'PSRule.Rules.Azure'
          inputPath: "${{ env.ParamFilePath }}"
          prerelease: true

This should install the latest prerelease version PSRule for Azure which would be v1.24.0-B0035. Currently there isn't a way to target a specific prerelease for PSRule for Azure, but it shouldn't matter in the case :)

https://github.com/…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@BernieWhite
Comment options

@Gordonby
Comment options

Answer selected by Gordonby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #212 on January 31, 2023 12:48.