Skip to content

Commit 71ef851

Browse files
committed
Attempt at fixing gh actions
1 parent 798df5a commit 71ef851

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,20 @@ jobs:
2424
dotnet-version: '10.0.x'
2525

2626
- name: Restore dependencies
27-
run: dotnet restore
27+
run: dotnet restore NoteD/NoteD.csproj
2828

2929
- name: Publish single-file self-contained
3030
run: |
31-
dotnet publish --configuration Release \
31+
dotnet publish NoteD/NoteD.csproj --configuration Release \
3232
-r ${{ matrix.rid }} \
3333
--self-contained true \
3434
/p:PublishSingleFile=true \
3535
/p:IncludeNativeLibrariesForSelfExtract=true \
3636
--output ./publish/${{ matrix.rid }}
3737
3838
- name: Upload binaries to release
39-
uses: actions/upload-release-asset@v1
39+
uses: softprops/action-gh-release@v1
4040
env:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4242
with:
43-
upload_url: ${{ github.event.release.upload_url }}
44-
asset_path: ./publish/${{ matrix.rid }}/NoteD${{ matrix.rid == 'win-x64' && '.exe' || '' }}
45-
asset_name: NoteD-${{ github.event.release.tag_name }}-${{ matrix.rid }}${{ matrix.rid == 'win-x64' && '.exe' || '' }}
46-
asset_content_type: application/octet-stream
43+
files: ./publish/${{ matrix.rid }}/NoteD${{ matrix.rid == 'win-x64' && '.exe' || '' }}

NoteD/NoteD.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="FuzzySharp" Version="2.0.2" />
13+
<PackageReference Include="Konscious.Security.Cryptography.Argon2" Version="1.3.1" />
14+
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
1315
<PackageReference Include="Terminal.Gui" Version="1.14.0" />
1416
</ItemGroup>
1517

0 commit comments

Comments
 (0)