Skip to content

Commit af9e9d9

Browse files
committed
update release action
1 parent bc36a8b commit af9e9d9

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,22 @@ jobs:
88
runs-on: windows-latest
99
steps:
1010
- uses: actions/checkout@v1
11-
# - name: Setup .NET Core
12-
# uses: actions/setup-dotnet@v1
13-
# with:
14-
# dotnet-version: 5.0.x
15-
# - name: Build
16-
# shell: pwsh
17-
# run: .\build.ps1
11+
- name: Setup .NET Core
12+
uses: actions/setup-dotnet@v1
13+
with:
14+
dotnet-version: 5.0.x
15+
- name: Build
16+
shell: pwsh
17+
run: .\build.ps1
1818
- name: Get Release Version
1919
shell: pwsh
2020
run: .\build\getReleaseVersion.ps1
21-
- name: Echo
22-
run: |
23-
echo '${{env.ReleaseVersion}}'
24-
echo '$env.ReleaseVersion'
25-
echo '${{env.ReleaseVersion1}}'
26-
echo '${{env.ReleaseVersion2}}'
27-
# - name: Create GitHub release
28-
# uses: marvinpinto/action-automatic-releases@latest
29-
# with:
30-
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
31-
# automatic_release_tag: ${{ env.ReleaseVersion }}
32-
# title: Version ${{ env.ReleaseVersion }}
33-
# prerelease: true
34-
# files: |
35-
# artifacts/packages/*
21+
- name: Create GitHub release
22+
uses: marvinpinto/action-automatic-releases@latest
23+
with:
24+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
25+
automatic_release_tag: ${{ env.ReleaseVersion }}
26+
title: Version ${{ env.ReleaseVersion }}
27+
prerelease: true
28+
files: |
29+
artifacts/packages/*

0 commit comments

Comments
 (0)