Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build exe (portable zip) via github workflow #58

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
831f7c5
Create dotnet-desktop.yml
Osiris-Team Mar 2, 2024
844090f
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
40ba6fe
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
8a95ee9
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
2ffa414
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
5260810
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
a29dc8a
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
ceb7833
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
8af193c
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
da28677
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
5ee9377
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
e2a5e8b
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
fd3635c
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
9f21304
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
6366150
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
ce9c39b
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
d2e0762
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
6d46e42
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
531dc73
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
75ef2ce
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
047d1e5
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
7e05fba
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
65f332d
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
f564eb0
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
634a3b7
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
bcf2552
Update dotnet-desktop.yml
Osiris-Team Mar 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Attach to Release

on:
release:
types:
- created

jobs:
build:
permissions: write-all
runs-on: windows-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up MSBuild
uses: microsoft/setup-msbuild@v1
with:
msbuild-version: '16.0'

- name: Restore NuGet packages
run: nuget restore p2pconn.sln

- name: Build
run: msbuild p2pconn.sln /p:Configuration=Release

- name: Zip files in p2pconn/bin/Release
run: |
Compress-Archive -Path ./p2pconn/bin/Release/* -DestinationPath ./p2pconn/bin/Release/p2p-portable.zip

- name: List contents of p2pconn/bin/Release
run: ls -R ./p2pconn/bin/Release

- name: Release
uses: softprops/action-gh-release@v1
with:
files: p2pconn/bin/Release/p2p-portable.zip