add permissions in action
Some checks failed
Gitea Actions Maven Build / build (push) Failing after 11s
Some checks failed
Gitea Actions Maven Build / build (push) Failing after 11s
This commit is contained in:
parent
f85cc9b031
commit
78a2c9002c
@ -7,6 +7,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
checks: write
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repo
|
- name: Checkout the repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -21,5 +25,4 @@ jobs:
|
|||||||
distribution: 'oracle'
|
distribution: 'oracle'
|
||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn test
|
run: mvn -B package --file pom.xml
|
||||||
# run: mvn -B package --file pom.xml
|
|
Loading…
x
Reference in New Issue
Block a user