Skip to content

Commit 38a8e88

Browse files
final fix
1 parent 9f160cf commit 38a8e88

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,32 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727

28-
# - uses: actions/setup-dotnet@v2
29-
# with:
30-
# dotnet-version: '6.0.x'
28+
- uses: actions/setup-dotnet@v2
29+
with:
30+
dotnet-version: '6.0.x'
3131

32-
# - name: Setup NuGet
33-
# uses: NuGet/[email protected]
32+
- name: Setup NuGet
33+
uses: NuGet/[email protected]
3434

3535
- uses: actions/setup-python@v4
3636
with:
3737
python-version: '3.6.x'
3838
architecture: 'x64'
3939

40-
# - name: Build
41-
# run: dotnet publish -c=Release
40+
- name: Build
41+
run: dotnet publish -c=Release
4242

4343
- name: Set-tag-env
4444
run: |
4545
"RE_TAG_NAME=$(python .github/scripts/get_version_tag.py)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
46-
47-
- name: print env
48-
run: |
49-
echo "${{ env.RE_TAG_NAME }}""
5046
51-
# - name: Publish the build
52-
# uses: "marvinpinto/action-automatic-releases@latest"
53-
# with:
54-
# repo_token: "${{ secrets.REPO_TOKEN }}"
55-
# automatic_release_tag: "v${{ env.RE_TAG_NAME }}"
56-
# prerelease: false
57-
# draft: true
58-
# title: "Automatic Build"
59-
# files: |
60-
# Server/bin/*/net35/ServerEmulator.dll
47+
- name: Publish the build
48+
uses: "marvinpinto/action-automatic-releases@latest"
49+
with:
50+
repo_token: "${{ secrets.REPO_TOKEN }}"
51+
automatic_release_tag: "v${{ env.RE_TAG_NAME }}"
52+
prerelease: false
53+
draft: true
54+
title: "Automatic Build"
55+
files: |
56+
Server/bin/*/net35/ServerEmulator.dll

0 commit comments

Comments
 (0)