diff --git a/.gitea/workflows/publish-maven.yaml b/.gitea/workflows/publish-maven.yaml index cc23ce4..511441a 100644 --- a/.gitea/workflows/publish-maven.yaml +++ b/.gitea/workflows/publish-maven.yaml @@ -8,6 +8,9 @@ jobs: steps: - name: Checkout source code uses: actions/checkout@v4 + with: + token: ${{ secrets.GIT_ACCESS_TOKEN }} + submodules: 'true' - name: Setup java runtime uses: actions/setup-java@v4 with: @@ -15,5 +18,5 @@ jobs: java-version: ${{ vars.JAVA_VERSION }} - name: Publish to maven run: | - echo "Target: ${{ gitea.api_url }}/packages/${{ gitea.repository_owner }}/maven" + echo "Publis target URL: ${{ gitea.api_url }}/packages/${{ gitea.repository_owner }}/maven" ./gradlew publish -PMAVEN_PUBLISH_ACCESS_TOKEN=${{ secrets.GIT_ACCESS_TOKEN }} -PMAVEN_PUBLISH_REPOSITORY_URL="${{ gitea.api_url }}/packages/${{ gitea.repository_owner }}/maven" \ No newline at end of file