Skip to content

Commit

Permalink
fix: Added permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Chechu committed Jul 19, 2023
1 parent 6127ae8 commit 36c85b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -28,7 +30,7 @@ jobs:
echo "VERSION_TAG=$(ls /home/runner/work/MPP/MPP/build/libs | grep -E 'MPP-[0-9\.]+\.[0-9]+-[0-9.]+-[A-Z]+\.jar' | rev | cut -c5- | rev)" >> $GITHUB_OUTPUT
id: version
- name: Create Release
uses: "marvinpinto/action-automatic-releases@v1.2.1"
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: ${{ steps.version.outputs.VERSION_TAG }}
Expand Down

0 comments on commit 36c85b5

Please sign in to comment.