diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 6430ac4..3fb0046 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -63,7 +63,7 @@ jobs: runs-on: ubuntu-latest permissions: packages: write - contents: read + contents: write steps: - uses: actions/checkout@v4 @@ -85,3 +85,9 @@ jobs: dotnet nuget push src/Xdg.Directories/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }} env: NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }} + - name: Make a GitHub release + uses: softprops/action-gh-release@v2 + with: + files: src/Xdg.Directories/bin/Release/*.nupkg + token: ${{ secrets.GITHUB_TOKEN }} + generate_release_notes: true \ No newline at end of file diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 2368a28..2e9607d 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -43,4 +43,3 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs/_site keep_files: true - force_orphan: true \ No newline at end of file diff --git a/src/Xdg.Benchmarks/Xdg.Benchmarks.fsproj b/src/Xdg.Benchmarks/Xdg.Benchmarks.fsproj index a90c11e..ffa6689 100644 --- a/src/Xdg.Benchmarks/Xdg.Benchmarks.fsproj +++ b/src/Xdg.Benchmarks/Xdg.Benchmarks.fsproj @@ -24,7 +24,7 @@ - + diff --git a/src/Xdg.Directories.FFI/Xdg.Directories.FFI.csproj b/src/Xdg.Directories.FFI/Xdg.Directories.FFI.csproj index 8201157..4477a03 100644 --- a/src/Xdg.Directories.FFI/Xdg.Directories.FFI.csproj +++ b/src/Xdg.Directories.FFI/Xdg.Directories.FFI.csproj @@ -46,4 +46,9 @@ + + + + + diff --git a/src/Xdg.Directories/Xdg.Directories.csproj b/src/Xdg.Directories/Xdg.Directories.csproj index 6ce8b8d..97388cd 100644 --- a/src/Xdg.Directories/Xdg.Directories.csproj +++ b/src/Xdg.Directories/Xdg.Directories.csproj @@ -7,10 +7,8 @@ net8.0;netstandard2.0 latest true - true - true + true + true enable enable True @@ -59,10 +57,11 @@ + - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Xdg.Testing/Xdg.Testing.csproj b/src/Xdg.Testing/Xdg.Testing.csproj index 2006fcd..6a188f2 100644 --- a/src/Xdg.Testing/Xdg.Testing.csproj +++ b/src/Xdg.Testing/Xdg.Testing.csproj @@ -12,9 +12,9 @@ - - - + + +