Skip to content

Commit

Permalink
GitVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Carneiro committed Dec 8, 2023
1 parent e1ef7bf commit 344d61b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,25 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: '5.x'

- name: Determine Version
id: gitversion # id to later be referenced
uses: gittools/actions/gitversion/execute@v0

- name: Display GitVersion outputs
run: |
echo "SemVer (steps.gitversion.outputs.semVer): ${{ steps.gitversion.outputs.semVer }}"
echo "SemVer (steps.gitversion.outputs.GitVersion_SemVer): ${{ steps.gitversion.outputs.GitVersion_SemVer }}"
echo "SemVer (environment variable semVer): ${{ env.semVer }}"
echo "SemVer (environment variable GitVersion_SemVer): ${{ env.GitVersion_SemVer }}"
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
Expand Down
1 change: 1 addition & 0 deletions ELabel.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.1" />
<PackageReference Include="ExcelMapper" Version="5.2.542" />
<PackageReference Include="GitVersion.Core" Version="5.12.0" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="8.0.0" />
Expand Down

0 comments on commit 344d61b

Please sign in to comment.