Skip to content

Commit

Permalink
error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lepadatu committed Aug 26, 2024
1 parent fd0e100 commit b15e130
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ jobs:
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
role-session-name: release

# - uses: actions/setup-node@v4
# with:
# node-version-file: .node-version
# cache: 'npm'
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: 'npm'

# - run: npm ci
# - run: npm run build
#- uses: ./
# id: app-token
# with:
# app-id: ${{ secrets.APP_ID }}
# kms-key-id: ${{ secrets.KMS_KEY_ID }}
- run: npm ci
- run: npm run build
- uses: ./
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
kms-key-id: ${{ secrets.KMS_KEY_ID }}
# install release dependencies and release
#- run: npm install --no-save @semantic-release/git semantic-release-plugin-github-breaking-version-tag
#- run: npx semantic-release --debug
# env:
# GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}#
- run: npm install --no-save @semantic-release/git semantic-release-plugin-github-breaking-version-tag
- run: npx semantic-release --debug
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}#
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

permissions:
contents: write
contents: read
id-token: write

concurrency:
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
id: test
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.KMS_KEY_ID }}
kms-key-id: ${{ secrets.KMS_KEY_ID }}
- uses: octokit/request-action@v2.x
id: get-repository
env:
Expand Down

0 comments on commit b15e130

Please sign in to comment.