diff --git a/.github/workflows/full.yml b/.github/workflows/full.yml index 304393d..e814bf1 100644 --- a/.github/workflows/full.yml +++ b/.github/workflows/full.yml @@ -1,7 +1,7 @@ name: main env: - v: '1.2.2' + v: '1.2.3' av: '1.0.0' on: @@ -51,3 +51,9 @@ jobs: name: packages - name: Push to nuget.org run: dotnet nuget push Stowage/bin/Release/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate + - name: Release + uses: softprops/action-gh-release@v1 + if: github.ref == 'refs/heads/master' + with: + tag_name: ${{ env.v }} + name: ${{ env.v }} \ No newline at end of file diff --git a/src/Stowage/Stowage.csproj b/src/Stowage/Stowage.csproj index d49e4c1..794a2fb 100644 --- a/src/Stowage/Stowage.csproj +++ b/src/Stowage/Stowage.csproj @@ -1,7 +1,7 @@  - net6.0 + netcoreapp3.1;net5.0;net6.0 Ivan Gavryliuk (@aloneguid) GitHub