aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMary <me@thog.eu>2021-04-07 21:17:16 +0200
committerMary <me@thog.eu>2021-04-07 21:17:16 +0200
commit2b308bb36e8efeeb7503bf059f309077d07ce010 (patch)
tree8a13f483c586c209d0d4f4a937842eaea40ef99c /.github/workflows
parent874540bb5c1c5737bc9b0bfdc96fe1cf12ff164d (diff)
CI: Add temporary fix for Windows nuget issues and fix git hashes for PRs
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 28e6d01b..1b87e188 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -49,9 +49,11 @@ jobs:
- uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
+ - name: Ensure NuGet Source
+ uses: fabriciomurta/ensure-nuget-source@v1
- name: Get git short hash
id: git_short_hash
- run: echo "::set-output name=result::$(git rev-parse --short HEAD)"
+ run: echo "::set-output name=result::$(git rev-parse --short "${{ github.sha }}")"
- name: Clear
run: dotnet clean && dotnet nuget locals all --clear
- name: Build