diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f458595..50e3ba2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,6 +47,7 @@ jobs: with: name: published path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\* + - name: release uses: actions/create-release@latest env: @@ -57,20 +58,18 @@ jobs: release_name: ${{ steps.version.outputs.version }} tag_name: ${{ github.run_number }} body: ${{ github.event.head_commit.message }} - + - name: Upload Release - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ github.token }} + uses: softprops/action-gh-release@v1 with: - name: published - path: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\* - - - - - - + draft: false + prerelease: false + release_name: ${{ steps.version.outputs.version }} + tag_name: ${{ github.run_number }} + body: ${{ github.event.head_commit.message }} + files: D:\a\Digital-Clock-in-sharpc\Digital-Clock-in-sharpc\Digital Clock\bin\Release\* + env: + GITHUB_TOKEN: ${{ github.token }}