Skip to content

Commit

Permalink
Skip dotnet tool for now
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbra committed Aug 2, 2023
1 parent a22628a commit a60667b
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,31 @@ jobs:
id: gitversion
uses: gittools/actions/gitversion/execute@v0.10.2

build-netcore-tool:
needs: set-version-number
name: Build .NET Core (global) tool
# build-netcore-tool:
# needs: set-version-number
# name: Build .NET Core (global) tool

runs-on: ubuntu-latest
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet pack ./smink/smink.csproj -c release -p:PackAsTool=true -p:PackageOutputPath=/tmp/smink/nupkg
env:
VERSION: ${{ needs.set-version-number.outputs.nuGetVersion }}
# steps:
# - uses: actions/checkout@v3
# - name: Setup .NET 8
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: 8.0.x
# - name: Restore dependencies
# run: dotnet restore
# - name: Build
# run: dotnet pack ./smink/smink.csproj -c release -p:PackAsTool=true -p:PackageOutputPath=/tmp/smink/nupkg
# env:
# VERSION: ${{ needs.set-version-number.outputs.nuGetVersion }}

- name: Upload published tool artifact
uses: actions/upload-artifact@v3
if: ${{ needs.set-version-number.outputs.is-release == 'true' }}
with:
name: smink-dotnet-tool-${{ needs.set-version-number.outputs.nuGetVersion }}
path: /tmp/smink/nupkg/*
# - name: Upload published tool artifact
# uses: actions/upload-artifact@v3
# if: ${{ needs.set-version-number.outputs.is-release == 'true' }}
# with:
# name: smink-dotnet-tool-${{ needs.set-version-number.outputs.nuGetVersion }}
# path: /tmp/smink/nupkg/*

# - name: Push to Nuget.org
# if: ${{ needs.set-version-number.outputs.is-release == 'true' }}
Expand Down

0 comments on commit a60667b

Please sign in to comment.