diff --git a/.github/workflows/GitHubApiPlugin-release.yml b/.github/workflows/GitHubApiPlugin-release.yml index 922fb231..31fcca46 100644 --- a/.github/workflows/GitHubApiPlugin-release.yml +++ b/.github/workflows/GitHubApiPlugin-release.yml @@ -19,19 +19,19 @@ jobs: with: dotnet-version: 5.0.102 - - name: Build + - name: Publish run: | cd ./plugins/GitHubApiPlugin - dotnet build --configuration Release + dotnet publish --configuration Release ls ls ./bin/Release/ - name: Zip the Build run: | - cd ./plugins/GitHubApiPlugin/bin/Release/netstandard2.0 + cd ./plugins/GitHubApiPlugin/bin/Release/netstandard2.0/publish zip -r GitHubApiPlugin-netstandard2.0.zip * - cd ../../../../../ - mv ./plugins/GitHubApiPlugin/bin/Release/netstandard2.0/*.zip ./ + cd ../../../../../../ + mv ./plugins/GitHubApiPlugin/bin/Release/netstandard2.0/publish/*.zip ./ - name: Create Release and Upload Release Asset uses: softprops/action-gh-release@v1