Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ekolis authored Jan 28, 2021
1 parent 61eeb98 commit c625e10
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ jobs:
with:
name: FrEee.WinForms
path: Artifact/FrEee.WinForms
- name: Create Release Tag
id: createReleaseTag
uses: 2428392/gh-truncate-string-action@v1.0.0
with:
stringToTruncate: ${{github.sha}}
maxLength: 10
- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{github.sha}}
tag_name: ${{steps.createReleaseTag.outputs.string}}
release_name: ${{github.sha}}
body: Auto-generated prerelease build
prerelease: true
Expand Down

0 comments on commit c625e10

Please sign in to comment.