Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e295ad8b96 |
@@ -25,6 +25,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Set up Java 17
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: "17"
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
- name: Build, sign, and publish release
|
- name: Build, sign, and publish release
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -681,6 +681,8 @@ test_release_workflow_uses_scoped_job_token() (
|
|||||||
grep -Fqx ' releases: write' "$workflow"
|
grep -Fqx ' releases: write' "$workflow"
|
||||||
grep -Fq 'GITEA_BASE_URL: ${{ github.server_url }}' "$workflow"
|
grep -Fq 'GITEA_BASE_URL: ${{ github.server_url }}' "$workflow"
|
||||||
grep -Fq 'GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}' "$workflow"
|
grep -Fq 'GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}' "$workflow"
|
||||||
|
grep -Fq 'uses: actions/setup-java@v4' "$workflow"
|
||||||
|
grep -Fq 'java-version: "17"' "$workflow"
|
||||||
! grep -Fq 'RELEASE_GITEA_TOKEN' "$workflow"
|
! grep -Fq 'RELEASE_GITEA_TOKEN' "$workflow"
|
||||||
! grep -Fq 'vars.GITEA_BASE_URL' "$workflow"
|
! grep -Fq 'vars.GITEA_BASE_URL' "$workflow"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user