Skip to content

Commit

Permalink
Workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCleary committed Feb 23, 2023
1 parent 66fc56d commit cbcf243
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build.yml v1.5
# 1.5 - Use bash syntax, avoid set-output.
# 1.5 - Use bash syntax, avoid set-output, update actions/cache to v3 and WyriHaximus/github-action-get-previous-tag to v1.
# 1.4 - Avoid set-env.
# 1.3 - Include tag workflow in this file.
# 1.2 - Define DOTNET_SKIP_FIRST_TIME_EXPERIENCE/NUGET_XMLDOC_MODE.
Expand Down Expand Up @@ -40,15 +40,15 @@ jobs:
fetch-depth: 0

- name: Cache nuget
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: nuget-${{ hashFiles('**/*.csproj') }}-${{ hashFiles('**/*.props') }}
restore-keys: ${{ steps.cache_fallbacks.outputs.nuget }}

- name: Get existing tag
id: existingtag
uses: WyriHaximus/github-action-get-previous-tag@0.2.0
uses: WyriHaximus/github-action-get-previous-tag@v1
continue-on-error: true

- name: Get current version
Expand Down

0 comments on commit cbcf243

Please sign in to comment.