File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 branches :
2323 - master
2424
25+ permissions :
26+ contents : read
27+
2528jobs :
2629 test-OpenJDK :
2730 name : " JDK ${{ matrix.java }} on ${{ matrix.os }}"
Original file line number Diff line number Diff line change 8989 build-native-image :
9090 name : " Build GraalVM native-image on ${{ matrix.os }}"
9191 runs-on : ${{ matrix.os }}
92+ defaults :
93+ run :
94+ shell : bash
9295 permissions :
9396 contents : write
9497 needs : build-maven-jars
@@ -116,13 +119,16 @@ jobs:
116119 native-image-job-reports : " true"
117120 cache : " maven"
118121 - name : Bump Version Number
119- run : mvn --no-transfer-progress versions:set versions:commit -DnewVersion="${{ github.event.inputs.version }}"
122+ env :
123+ GITHUB_EVENT_INPUTS_VERSION : ${{ github.event.inputs.version }}
124+ run : mvn --no-transfer-progress versions:set versions:commit -DnewVersion="${GITHUB_EVENT_INPUTS_VERSION}"
120125 - name : " Native"
121126 run : mvn -Pnative -DskipTests package -pl core -am
122127 - name : " Move outputs"
123- run : cp core/target/google-java-format${{ env. EXTENSION }} google-java-format_${{ env. SUFFIX }}${{ env. EXTENSION } }
128+ run : cp core/target/google-java-format${EXTENSION} google-java-format_${SUFFIX}${ EXTENSION}
124129 - name : " Upload native-image"
125130 env :
126131 GH_TOKEN : ${{ github.token }}
127132 GH_REPO : ${{ github.repository }}
128- run : gh release upload "v${{ github.event.inputs.version }}" "google-java-format_${{ env.SUFFIX }}${{ env.EXTENSION }}"
133+ GITHUB_EVENT_INPUTS_VERSION : ${{ github.event.inputs.version }}
134+ run : gh release upload "v${GITHUB_EVENT_INPUTS_VERSION}" "google-java-format_${SUFFIX}${EXTENSION}"
You can’t perform that action at this time.
0 commit comments