From 9525a161201526c88add3f2d6aecd402c614494d Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Fri, 26 Dec 2025 08:18:35 +0700 Subject: [PATCH] ci: Modernize release workflow (#203) --- .github/workflows/release.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eab365d..91f4fa3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,14 +17,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - # Make sure the release step uses its own credentials: - # https://github.com/cycjimmy/semantic-release-action#private-packages - persist-credentials: false - fetch-depth: 0 - name: Cache Gradle - uses: burrunan/gradle-cache-action@v1 + uses: burrunan/gradle-cache-action@v3 - name: Build env: @@ -56,12 +51,12 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Release + uses: cycjimmy/semantic-release-action@v4 env: DOCKER_REGISTRY_USER: ${{ github.actor }} DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} GITHUB_ACTOR: ${{ github.actor }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm exec semantic-release - name: Set Portainer stack webhook URL based on branch run: |