Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e36b09e12 | |||
| cbfe068195 | |||
| b5439a62d6 | |||
| c4b56c4305 | |||
| 545e5815c5 | |||
| ff36539de3 | |||
| ada7b657d5 | |||
| 989d92698b | |||
| f840f8fa56 |
@@ -9,7 +9,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: false
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
dotnet: [ '8.0.405' ]
|
dotnet: [ '8.0.405' ]
|
||||||
@@ -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: false
|
||||||
md5sum: true
|
md5sum: true
|
||||||
files: |-
|
files: |-
|
||||||
${{ matrix.publishprofile }}.*
|
${{ matrix.publishprofile }}.*
|
||||||
@@ -15,14 +15,15 @@ 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:
|
with:
|
||||||
ref: prerelease
|
ref: prerelease
|
||||||
|
#&& echo "RELEASE_MESSAGE=${ git tag -l --format='%(contents:subject)' 'RELEASE_VERSION' }" >> $GITEA_ENV
|
||||||
|
- name: Test
|
||||||
|
run: echo "RELEASE_VERSION=${GITEA_REF#refs/*/}" >> $GITEA_ENV
|
||||||
|
- name: Test2
|
||||||
|
run: echo "RELEASE_MESSAGE=${git tag -l --format='%(contents:subject)' $RELEASE_VERSION}" >> $GITEA_ENV
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
@@ -38,8 +39,8 @@ jobs:
|
|||||||
- name: Release Files
|
- name: Release Files
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
name: Yee
|
name: Release $RELEASE_VERSION
|
||||||
body: ${{ steps.extract_tag_message.outputs.tag_message }}
|
body: $RELEASE_MESSAGE
|
||||||
prerelease: true
|
prerelease: true
|
||||||
md5sum: true
|
md5sum: true
|
||||||
files: |-
|
files: |-
|
||||||
|
|||||||
Reference in New Issue
Block a user