Skip to content

Commit 93e2d0c

Browse files
authored
Merge pull request #42 from TheProgramSrc/patch/updates
Workflow Fixes
2 parents b3e3f1f + f4d3a0c commit 93e2d0c

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/gradle-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Test"
22
# Only execute this workflow when a PR is opened or when something is pushed to the master branch
3-
on: [pull_request]
3+
on:
4+
pull_request:
5+
branches: [master]
6+
paths: ['src/**', 'gradle/**', 'gradlew', 'build.gradle', 'settings.gradle', 'gradle.properties']
47
jobs:
58
testBuilds:
69
strategy:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.2.2 - Snapshot
2+
* Run workflow on certain path changes
3+
14
## v0.2.1 - Snapshot
25
* Removed bundled kotlin
36
* Added blossom settings

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ val env = project.rootProject.file(".env").let { file ->
1515
if(file.exists()) file.readLines().filter { it.isNotBlank() && !it.startsWith("#") && it.split("=").size == 2 }.associate { it.split("=")[0] to it.split("=")[1] } else emptyMap()
1616
}.toMutableMap().apply { putAll(System.getenv()) }
1717

18-
val projectVersion = env["VERSION"] ?: "0.2.1-SNAPSHOT"
18+
val projectVersion = env["VERSION"] ?: "0.2.2-SNAPSHOT"
1919

2020
group = "xyz.theprogramsrc"
2121
version = projectVersion

0 commit comments

Comments
 (0)