Skip to content

Commit

Permalink
fix: publish releease
Browse files Browse the repository at this point in the history
  • Loading branch information
msharbaji committed Mar 5, 2024
1 parent 177b06e commit 7025888
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,23 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: github-app
with:
app-id: ${{ vars.TGHA_APP_ID }}
private-key: ${{ secrets.TGHA_PRIVATE_KEY }}
owner: ${{ vars.TGHA_OWNER }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.github-app.outputs.token }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
registry-url: 'https://registry.npmjs.org'
- uses: actions/create-github-app-token@v1
id: github-app
with:
app-id: ${{ vars.TGHA_APP_ID }}
private-key: ${{ secrets.TGHA_PRIVATE_KEY }}
owner: ${{ vars.TGHA_OWNER }}
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Semantic Version
Expand Down

0 comments on commit 7025888

Please sign in to comment.