diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 492d67d..d589f72 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,5 +1,8 @@ name: 'Build and Release' +permissions: + contents: write + on: push: tags: @@ -16,7 +19,7 @@ jobs: java-version: '21' distribution: 'temurin' - name: Build - run: mvn install + run: mvn -B install && mvn -B clean --file metadata-webimpl/pom.xml && mvn -B -Pnative package --file metadata-webimpl/pom.xml - name: Release uses: softprops/action-gh-release@v2 with: