Skip to content

Commit 705c8b4

Browse files
committed
Release fixes
1 parent 3513015 commit 705c8b4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,13 @@ jobs:
3030
tag: ${{ github.ref }}
3131
file_glob: true
3232
overwrite: true
33+
34+
- name: Upload Properties to Release
35+
uses: svenstaro/upload-release-action@v2
36+
with:
37+
repo_token: ${{ secrets.GITHUB_TOKEN }}
38+
file: p5js/build/mode/mode.Properties
39+
asset_name: p5js.txt
40+
tag: ${{ github.ref }}
41+
overwrite: true
3342

p5js/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ tasks.register<Download>("includeP5jsExamples"){
7878
}
7979

8080
tasks.register<Copy>("createMode") {
81-
dependsOn("jar", "includeP5jsExamples")
81+
dependsOn("jar")
82+
finalizedBy("includeP5jsExamples")
8283
into(layout.buildDirectory.dir("mode"))
8384
// TODO Why is there a duplicate in the first place?
8485
duplicatesStrategy = DuplicatesStrategy.WARN

0 commit comments

Comments
 (0)