From 81c9f1264381be64b02d1f5f60684f522cdce116 Mon Sep 17 00:00:00 2001 From: iiTzArcur Date: Fri, 2 Feb 2024 17:52:51 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a4baee..b2e99f0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,11 +27,19 @@ jobs: - name: Run publish run: dotnet publish -c Release -p:PublishSingleFile=true --self-contained false "PlanningCenter to OPS\\PlanningCenter to OPS.csproj" - - name: release + - name: Bump version and push tag + id: tag_version + uses: mathieudutour/github-tag-action@v6.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + + - name: Create a GitHub release id: create_release - uses: zendesk/action-create-release@v2 - env: - GITHUB_TOKEN: ${{ github.token }} + uses: ncipollo/release-action@v1 + with: + tag: ${{ steps.tag_version.outputs.new_tag }} + name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }} - name: upload windows artifact uses: actions/upload-release-asset@v1