From cadd140d1e4c0ccc08acdafc888cc05438ae04b6 Mon Sep 17 00:00:00 2001 From: Andreas Hufler Date: Thu, 14 Aug 2025 12:13:31 +0200 Subject: [PATCH] update workflow --- .github/workflows/publish.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ec9a169..ae88c0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ on: jobs: publish: timeout-minutes: 15 - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 permissions: contents: read packages: write @@ -29,16 +29,21 @@ jobs: GITHUB_USER_NAME: ${{ github.actor }} GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - tag: + release: timeout-minutes: 5 - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: publish steps: - uses: actions/checkout@v4 - - name: Tag Deployment - uses: aboutbits/github-actions-base/git-create-or-update-tag@v1 + - name: Create GitHub release + uses: actions/github-script@v7 with: - tag-name: ${{ github.event.inputs.version }} - user-name: 'AboutBits' - user-email: 'info@aboutbits.it' + script: | + github.rest.repos.createRelease({ + owner: context.repo.owner, + repo: context.repo.repo, + tag_name: '${{ github.event.inputs.version }}', + name: 'Release ${{ github.event.inputs.version }}', + prerelease: '${{ github.event.inputs.version }}'.includes('RC') + })