Skip to content

Commit 9525a16

Browse files
authored
ci: Modernize release workflow (#203)
1 parent c71cbd0 commit 9525a16

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20-
with:
21-
# Make sure the release step uses its own credentials:
22-
# https://github.com/cycjimmy/semantic-release-action#private-packages
23-
persist-credentials: false
24-
fetch-depth: 0
2520

2621
- name: Cache Gradle
27-
uses: burrunan/gradle-cache-action@v1
22+
uses: burrunan/gradle-cache-action@v3
2823

2924
- name: Build
3025
env:
@@ -56,12 +51,12 @@ jobs:
5651
uses: docker/setup-buildx-action@v3
5752

5853
- name: Release
54+
uses: cycjimmy/semantic-release-action@v4
5955
env:
6056
DOCKER_REGISTRY_USER: ${{ github.actor }}
6157
DOCKER_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
6258
GITHUB_ACTOR: ${{ github.actor }}
6359
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64-
run: npm exec semantic-release
6560

6661
- name: Set Portainer stack webhook URL based on branch
6762
run: |

0 commit comments

Comments
 (0)