From 2c4d8d815c407510ad08c30aca6f5046ffbd9bdb Mon Sep 17 00:00:00 2001 From: Chris Frohoff Date: Sat, 25 Jun 2022 04:01:44 +0000 Subject: [PATCH] fix attempt --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7158fc4..d920160 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,7 @@ name: publish jar on: [push] +permissions: + contents: write jobs: publish: @@ -13,6 +15,7 @@ jobs: with: java-version: '8' distribution: 'adopt' + cache: 'maven' - name: Set version run: mvn versions:set -DnewVersion=${{ github.ref_name }}-SNAPSHOT - name: Build jar