Fix final variable definition that is used in a for loop being moved … #1262
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Snapshot | |
on: [push, pull_request] | |
jobs: | |
publish: | |
if: ${{ github.repository_owner == 'Vineflower' && contains(github.ref_name, 'develop') }} | |
runs-on: ubuntu-22.04 | |
container: | |
image: eclipse-temurin:17 | |
options: --user root | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: gradle/wrapper-validation-action@v1 | |
- run: ./gradlew publish --stacktrace | |
env: | |
STATUS: snapshot | |
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | |
SIGNING_KEY_PASSPHRASE: ${{ secrets.SIGNING_KEY_PASSPHRASE }} | |
SONATYPE_USER: ${{ secrets.SONATYPE_USER }} | |
SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }} |