Skip to content

Commit

Permalink
Fix gh actions permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthb committed Oct 4, 2024
1 parent 87b36fd commit 2b8a7a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,27 @@ on:
jobs:
build_zip:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '16.9.1'
cache: 'yarn'

- name: Build
env:
version: ${{ github.ref_name }}
run: |
yarn install --dev
yarn build
zip -r openapi-explorer_${version}.zip public
- name: Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 2b8a7a1

Please sign in to comment.