Skip to content

Commit

Permalink
snapshot path handling
Browse files Browse the repository at this point in the history
  • Loading branch information
osoykan committed May 14, 2024
1 parent 56a2cdd commit 6b1e00a
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/gradle-publish-snapshot.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
name: Publish to Snapshot Maven
env:
SNAPSHOT: true
PATH_EXAMPLES: 'examples/**'
PATH_LIB: 'lib/**'
PATH_STARTERS: 'starters/**'
PATH_GRADLE: 'gradle/**'
PATH_GRADLE_KTS: 'build.gradle.kts'
PATH_SETTINGS_KTS: 'settings.gradle.kts'
PATH_BUILD_SRC: 'buildSrc/**'
on:
push:
branches: [ main ]
paths:
- ${{ env.PATH_EXAMPLES }}
- ${{ env.PATH_LIB }}
- ${{ env.PATH_STARTERS }}
- ${{ env.PATH_GRADLE }}
- ${{ env.PATH_GRADLE_KTS }}
- ${{ env.PATH_SETTINGS_KTS }}
- ${{ env.PATH_BUILD_SRC }}
- 'examples/**'
- 'lib/**'
- 'starters/**'
- 'gradle/**'
- 'build.gradle.kts'
- 'settings.gradle.kts'
- 'buildSrc/**'
env:
SNAPSHOT: true
jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6b1e00a

Please sign in to comment.