diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f734159fe..7c614ddbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'oracle' + distribution: 'zulu' java-version: 17 - name: Build with Maven run: mvn clean package -P release -D gpg.skip=true -D maven.test.skip=true -B -V --file pom.xml diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 65f770a3b..9af5b01e2 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -61,12 +61,14 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'oracle' + distribution: 'zulu' java-version: 17 - name: Build with Maven run: mvn clean package -P release -D gpg.skip=true -D maven.test.skip=true -B -V --file pom.xml - name: Set up HUB uses: geertvdc/setup-hub@master + env: + ACTIONS_ALLOW_UNSECURE_COMMANDS: true - name: Package Snail env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}