Skip to content

Commit

Permalink
Pin action tools commits
Browse files Browse the repository at this point in the history
  • Loading branch information
ImoutoChan committed Oct 13, 2023
1 parent 45fc81c commit 7fd6a76
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,32 @@ jobs:

steps:
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
uses: GitTools/actions/gitversion/setup@a41619580c25efb59dfc062e92990914141abcad # v0.10.2
with:
versionSpec: '5.5.0'

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0

- name: Run GitVersion
id: gitversion
uses: gittools/actions/gitversion/execute@v0
uses: GitTools/actions/gitversion/execute@a41619580c25efb59dfc062e92990914141abcad # v0.10.2
env:
DOTNET_ROLL_FORWARD: Major

- name: Echo version
run: echo ${{ steps.gitversion.outputs.majorMinorPatch }}

- name: Setup .NET Core SDK '7.x.x'
uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
with:
dotnet-version: '7.x.x'
include-prerelease: true

- name: Update project version
uses: roryprimrose/set-vs-sdk-project-version@v1
uses: roryprimrose/set-vs-sdk-project-version@a3f300b86a779fcdeea2c5d586ee9415c64cc42a # v1.0.6
with:
version: ${{ steps.gitversion.outputs.majorMinorPatch }}

Expand Down

0 comments on commit 7fd6a76

Please # to comment.