Skip to content

Commit

Permalink
Remove not required variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tekgator committed May 30, 2023
1 parent 9ea6252 commit 8bcd4e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ env:
PROJECT_PATH: MinecraftJars/MinecraftJars.csproj
PACKAGE_OUTPUT_DIR: ${{ github.workspace }}/output
NUGET_SOURCE_URL: "https://api.nuget.org/v3/index.json"
NUGET_NAME: MinecraftJars.NET.*.nupkg

jobs:
build:
Expand Down Expand Up @@ -38,7 +37,7 @@ jobs:
run: dotnet pack ${{ env.PROJECT_PATH }} --no-restore --configuration Release --p:PackageVersion=${{ steps.version.outputs.version-without-v }} --output ${{ env.PACKAGE_OUTPUT_DIR }}

- name: "Push package"
run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIR }}/${{ env.NUGET_NAME }} --api-key ${{ secrets.NUGET_AUTH_TOKEN }} --source ${{ env.NUGET_SOURCE_URL }}
run: dotnet nuget push ${{ env.PACKAGE_OUTPUT_DIR }}/*.nupkg --api-key ${{ secrets.NUGET_AUTH_TOKEN }} --source ${{ env.NUGET_SOURCE_URL }}

# - name: "Attach Nuget to release"
# uses: AButler/upload-release-assets@v2.0
Expand Down

0 comments on commit 8bcd4e7

Please sign in to comment.