diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 57752e5..2e8a384 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -12,6 +12,9 @@ jobs: contents: write steps: - uses: actions/checkout@v3 + with: + fetch-tags: true + fetch-depth: 0 - name: 'Install OptiPNG' run: sudo apt-get install -y optipng @@ -20,7 +23,7 @@ jobs: run: | find . -name "*.png" -exec optipng -o9 {} \; - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'temurin'