Skip to content

Commit 36c85b5

Browse files
author
Chechu
authored
fix: Added permissions
1 parent 6127ae8 commit 36c85b5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build_release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
1113
steps:
1214
- uses: actions/checkout@v3
1315
with:
@@ -28,7 +30,7 @@ jobs:
2830
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
2931
id: version
3032
- name: Create Release
31-
uses: "marvinpinto/action-automatic-releases@v1.2.1"
33+
uses: "marvinpinto/action-automatic-releases@latest"
3234
with:
3335
repo_token: ${{ secrets.GITHUB_TOKEN }}
3436
automatic_release_tag: ${{ steps.version.outputs.VERSION_TAG }}

0 commit comments

Comments
 (0)