Compare commits
7 Commits
p1.0.1
...
f840f8fa56
| Author | SHA1 | Date | |
|---|---|---|---|
| f840f8fa56 | |||
| 47e0f31b34 | |||
| 971d01ff33 | |||
| 4fd4c51f8b | |||
| cf2ae008ef | |||
| 73bf305ba3 | |||
| 1dbd2b44c5 |
@@ -2,10 +2,9 @@ name: Build and Release Project
|
|||||||
run-name: Building and Releasing Main Branch 🚀
|
run-name: Building and Releasing Main Branch 🚀
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
|
||||||
- 'prerelease'
|
|
||||||
tags:
|
tags:
|
||||||
- '**'
|
- 'r**'
|
||||||
|
- '!p**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -18,6 +17,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Clone Project
|
- name: Clone Project
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
@@ -34,8 +35,8 @@ jobs:
|
|||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: Yee
|
name: Yee
|
||||||
body: Test
|
body: Body
|
||||||
prerelease: false
|
prerelease: true
|
||||||
md5sum: true
|
md5sum: true
|
||||||
files: |-
|
files: |-
|
||||||
${{ matrix.publishprofile }}.*
|
${{ matrix.publishprofile }}.*
|
||||||
@@ -2,10 +2,9 @@ name: Build and Release Prerelease
|
|||||||
run-name: Building and Releasing Prerelease Branch 🚀
|
run-name: Building and Releasing Prerelease Branch 🚀
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
|
||||||
- 'main'
|
|
||||||
tags:
|
tags:
|
||||||
- 'p**'
|
- 'p**'
|
||||||
|
- '!r**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -16,8 +15,14 @@ jobs:
|
|||||||
publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ]
|
publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ]
|
||||||
name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }}
|
name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Extract Tag Message
|
||||||
|
shell: bash
|
||||||
|
run: echo "tag_message=$(git tag -l --format='%(contents:subject)'${GITEA_REF#refs/*/})" >> $GITEA_ENV
|
||||||
|
id: extract_tag_message
|
||||||
- name: Clone Project
|
- name: Clone Project
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
ref: prerelease
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
@@ -34,7 +39,7 @@ jobs:
|
|||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: Yee
|
name: Yee
|
||||||
body: Test
|
body: ${{ steps.extract_tag_message.outputs.tag_message }}
|
||||||
prerelease: true
|
prerelease: true
|
||||||
md5sum: true
|
md5sum: true
|
||||||
files: |-
|
files: |-
|
||||||
|
|||||||
Reference in New Issue
Block a user