1 parent 39ce5f0 commit 9122374Copy full SHA for 9122374
1 file changed
.github/workflows/release.yml
@@ -4,13 +4,17 @@ on:
4
tags:
5
- '*'
6
7
+permissions:
8
+ id-token: write # Required for OIDC
9
+ contents: write # For Semantic Release tagging
10
+
11
jobs:
12
release:
13
name: Release
14
runs-on: ubuntu-latest
15
steps:
16
- name: Checkout
- uses: actions/checkout@v2
17
+ uses: actions/checkout@v4
18
with:
19
fetch-depth: 0
20
@@ -26,8 +30,6 @@ jobs:
26
30
run: npm run build
27
31
28
32
- name: Release Package
29
- uses: cycjimmy/semantic-release-action@v2
- with:
- semantic_version: 16
33
+ run: npx semantic-release@25
34
env:
- NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
35
+ GITHUB_TOKEN: ${{ secrets.OPENEDX_SEMANTIC_RELEASE_GITHUB_TOKEN }}
0 commit comments