Skip to content

Commit 315a61a

Browse files
committed
Update release-p5-mode.yml
1 parent f689b19 commit 315a61a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release-p5-mode.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ jobs:
2323
with:
2424
distribution: 'temurin'
2525
java-version: '17.0.8'
26-
- name: Setup Gradle
27-
uses: gradle/actions/setup-gradle@v4
28-
- name: Build with Gradle
29-
run: ./gradlew createPdex createZip
3026

3127
- name: Set Version Number
3228
run: |
3329
VERSION_NUMBER=${{ github.event.inputs.version_number }}
3430
VERSION_PRETTY=${{ github.event.inputs.version_pretty }}
35-
sed -i "s/^version=.*$/version=$VERSION_NUMBER/" p5js/mode/mode.properties
36-
sed -i "s/^prettyVersion=.*$/prettyVersion=$VERSION_PRETTY/" p5js/mode/mode.properties
31+
sed -i "s/^version=.*$/version=$VERSION_NUMBER/" ./p5js/library/mode.properties
32+
sed -i "s/^prettyVersion=.*$/prettyVersion=$VERSION_PRETTY/" ./p5js/library/mode.properties
33+
- name: Setup Gradle
34+
uses: gradle/actions/setup-gradle@v4
35+
- name: Build with Gradle
36+
run: ./gradlew createPdex createZip
3737

3838
- name: Upload to Release
3939
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)