From 86296cf40dd0d367b98ad7082a85086fada6cd16 Mon Sep 17 00:00:00 2001 From: fmacleal Date: Wed, 14 Aug 2024 12:44:15 +0200 Subject: [PATCH] Attempt to fix the release using a maintained action for it --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a2edb74..171191cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,19 +109,19 @@ jobs: name: Publish RIT Action tag runs-on: ubuntu-latest timeout-minutes: 60 - if: github.ref == 'refs/heads/main' - +# if: github.ref == 'refs/heads/main' + permissions: + packages: write + contents: write steps: - name: Checkout id: checkout uses: actions/checkout@v4 - - name: Create GitHub Release - uses: actions/create-release@v1 + - name: Create a Release + uses: elgohr/Github-Release-Action@v5 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: rootstock-integration-tests@v1 - release_name: Release rootstock-integration-tests@v1 - draft: false - prerelease: false + title: Release rootstock-integration-tests@v1 \ No newline at end of file