3 Commits

Author SHA1 Message Date
6cf9198957 Update
All checks were successful
Build and Release Project / Publish with Dotnet 8.0.405 and Profile PublishLinuxX64 (push) Successful in 1m22s
Build and Release Project / Publish with Dotnet 8.0.405 and Profile PublishWinX64 (push) Successful in 1m19s
Build and Release Prerelease / Publish with Dotnet 8.0.405 and Profile PublishLinuxX64 (push) Successful in 1m23s
Build and Release Prerelease / Publish with Dotnet 8.0.405 and Profile PublishWinX64 (push) Successful in 1m21s
2026-03-04 19:08:13 +01:00
b6b5a410eb Added Prerelease
All checks were successful
Build and Release Project / Publish with Dotnet 8.0.405 and Profile PublishLinuxX64 (push) Successful in 1m27s
Build and Release Project / Publish with Dotnet 8.0.405 and Profile PublishWinX64 (push) Successful in 1m23s
2026-03-04 19:03:04 +01:00
dd2f95fc32 Test prerelease 2026-03-04 18:55:58 +01:00
2 changed files with 48 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
name: Build and Release Project
run-name: Building and Releasing Main Branch 🚀
on: [push]
on:
push:
branches-ignore:
- 'prerelease'
tags:
- '**'
jobs:
build:
@@ -24,7 +29,7 @@ jobs:
run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz -C GiteaTest/publish .
- name: Pack Windows Release
if: ${{ matrix.publishprofile == 'PublishWinX64' }}
run: zip ${{ matrix.publishprofile }}.zip GiteaTest/publish/*
run: cd GiteaTest/publish/ && zip ../../${{ matrix.publishprofile }}.zip *
- name: Release Files
uses: akkuman/gitea-release-action@v1
with:

View File

@@ -0,0 +1,41 @@
name: Build and Release Prerelease
run-name: Building and Releasing Prerelease Branch 🚀
on:
push:
branches-ignore:
- 'main'
tags:
- 'p**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '8.0.405' ]
publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ]
name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }}
steps:
- name: Clone Project
uses: actions/checkout@master
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Build / Publish Project
run: dotnet publish GiteaTest.sln -p:PublishProfile=${{ matrix.publishprofile }}
- name: Pack Linux Release
if: ${{ matrix.publishprofile == 'PublishLinuxX64' }}
run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz -C GiteaTest/publish .
- name: Pack Windows Release
if: ${{ matrix.publishprofile == 'PublishWinX64' }}
run: cd GiteaTest/publish/ && zip ../../${{ matrix.publishprofile }}.zip *
- name: Release Files
uses: akkuman/gitea-release-action@v1
with:
name: Yee
body: Test
prerelease: true
md5sum: true
files: |-
${{ matrix.publishprofile }}.*