diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f714fc4..6f3d8a1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,13 +19,6 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- # - uses: actions/cache@v3
- # with:
- # path: ~/.nuget/packages
- # # Look to see if there is a cache hit for the corresponding requirements file
- # key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
- # restore-keys: |
- # ${{ runner.os }}-nuget
- name: Restore dependencies
working-directory: ./src
run: dotnet restore
diff --git a/.github/workflows/nuget.yaml b/.github/workflows/nuget.yaml
index 7b89d5b..e5e8aad 100644
--- a/.github/workflows/nuget.yaml
+++ b/.github/workflows/nuget.yaml
@@ -1,14 +1,16 @@
name: 'NuGet'
on:
- push:
- tags:
- - "v[0-9]+.[0-9]+.[0-9]+"
+ release:
+ types: [published]
jobs:
build:
runs-on: ubuntu-latest
+ env:
+ BUILD_CONFIG: 'Release'
+
steps:
- uses: actions/checkout@v3
- name: Verify commit exists in origin/main
@@ -23,10 +25,10 @@ jobs:
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
- name: Build
working-directory: ./src
- run: dotnet build --configuration Release /p:Version=${VERSION}
+ run: dotnet build /p:Version=${VERSION}
- name: Test
working-directory: ./src
- run: dotnet test --configuration Release /p:Version=${VERSION} --no-build
+ run: dotnet test /p:Version=${VERSION} --no-build
- name: Pack
working-directory: ./src
- run: dotnet pack --configuration Release /p:Version=${VERSION} --no-build --output .
\ No newline at end of file
+ run: dotnet pack /p:Version=${VERSION} --no-build --output .
\ No newline at end of file
diff --git a/src/Sleddog.Blink1/Sleddog.Blink1.csproj b/src/Sleddog.Blink1/Sleddog.Blink1.csproj
index f7bc633..b4e62a0 100644
--- a/src/Sleddog.Blink1/Sleddog.Blink1.csproj
+++ b/src/Sleddog.Blink1/Sleddog.Blink1.csproj
@@ -4,7 +4,9 @@
Library
true
false
+ https://github.com/SleddogSoftwareDevelopment/blink1
+