Skip to content

Commit bcf8f8a

Browse files
committed
fix: Fix caddy.
1 parent 5af133c commit bcf8f8a

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/docker-buildimage-caddy.yml

+5-7
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,13 @@ jobs:
4141
"name": "caddy"
4242
}
4343
EOF
44+
- name: 🏗 Run install semantic-release
45+
working-directory: docker/caddy
46+
run: npm install --save-dev semantic-release-monorepo semantic-release @semantic-release/exec
4447
- name: 🚀 Release
45-
uses: cycjimmy/semantic-release-action@v4
48+
working-directory: docker/caddy
4649
id: semantic
47-
with:
48-
working_directory: docker/caddy
49-
extends: |
50-
semantic-release-monorepo
51-
extra_plugins: |
52-
@semantic-release/exec
50+
run: npx semantic-release --extends semantic-release-monorepo
5351
env:
5452
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5553
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

docker/caddy/.releaserc.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ plugins:
1010
Publish caddy release at
1111
https://github.com/gsmlg-dev/Foundation/releases/tag/caddy-v${nextRelease.version}
1212
EOF
13+
echo "new_release_version=${nextRelease.version}" >> "$GITHUB_OUTPUT"
1314
- '@semantic-release/github'
1415
branches:
1516
- +([0-9])?(.{+([0-9]),x}).x

0 commit comments

Comments
 (0)