Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fde94178b8 | |||
| 0e36b09e12 | |||
| cbfe068195 | |||
| b5439a62d6 | |||
| c4b56c4305 | |||
| 545e5815c5 | |||
| ff36539de3 | |||
| ada7b657d5 | |||
| 989d92698b | |||
| f840f8fa56 | |||
| 47e0f31b34 |
@@ -9,7 +9,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: false
|
||||
strategy:
|
||||
matrix:
|
||||
dotnet: [ '8.0.405' ]
|
||||
@@ -18,6 +17,8 @@ jobs:
|
||||
steps:
|
||||
- name: Clone Project
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
ref: main
|
||||
- name: Setup dotnet
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
@@ -34,8 +35,8 @@ jobs:
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
name: Yee
|
||||
body: Test
|
||||
body: Body
|
||||
prerelease: false
|
||||
md5sum: true
|
||||
files: |-
|
||||
${{ matrix.publishprofile }}.*
|
||||
${{ matrix.publishprofile }}.*
|
||||
@@ -13,16 +13,17 @@ jobs:
|
||||
matrix:
|
||||
dotnet: [ '8.0.405' ]
|
||||
publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ]
|
||||
name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }} and ${GITEA_HEAD_REF:-${GITEA_REF#refs/heads/}}
|
||||
name: Publish with Dotnet ${{ matrix.dotnet }} and Profile ${{ matrix.publishprofile }}
|
||||
steps:
|
||||
- name: Extract Tag Message
|
||||
shell: bash
|
||||
run: echo "tag_message=$(git tag -l --format='%(contents:subject)'${GITHUB_REF#refs/*/})" >> $GITHUB_ENV
|
||||
id: extract_tag_message
|
||||
- name: Clone Project
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
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
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
@@ -38,8 +39,8 @@ jobs:
|
||||
- name: Release Files
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
name: Yee
|
||||
body: ${{ steps.extract_tag_message.outputs.tag_message }}
|
||||
name: Release $RELEASE_VERSION
|
||||
body: $RELEASE_MESSAGE
|
||||
prerelease: true
|
||||
md5sum: true
|
||||
files: |-
|
||||
|
||||
Reference in New Issue
Block a user