big changes
Gitea Actions Demo / Explore-Gitea-Actions (8.0.x) (push) Failing after 7s

This commit is contained in:
Pgeeraert
2024-11-06 11:55:58 +00:00
parent 2ccf16f695
commit 87cf55d0c2
2 changed files with 2 additions and 24 deletions
-23
View File
@@ -11,30 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Test with dotnet
run: dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
- name: Build the package
run: dotnet build
- name: Publish the package
run: dotnet publish -p:PublishSingleFile=true --self-contained false --runtime win-x64
- name: List all files
run: |
find /workspace/pi-ux-ce/OpenJiraGui/OpenJiraGui/bin
- name: Delete existing latest version
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} -X DELETE \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/OpenJiraGui/latest/OpenJiraGui.exe
- name: upload latest version
run: |
curl --user ${{ secrets.USERNAME_GITEA }}:${{ secrets.PASSWORD_GITEA }} \
--upload-file /workspace/pi-ux-ce/OpenJiraGui/OpenJiraGui/bin/Release/net8.0/win-x64/publish/OpenJiraGui.exe \
https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/OpenJiraGui/latest/OpenJiraGui.exe
+2 -1
View File
@@ -3,6 +3,7 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
@@ -28,4 +29,4 @@
</EmbeddedResource>
</ItemGroup>
</Project>
</Project>