We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38664f0 commit 3e14f99Copy full SHA for 3e14f99
1 file changed
.github/workflows/build.yaml
@@ -22,12 +22,21 @@ jobs:
22
BUILD_VERSION: ${{ env.BUILD_VERSION }}
23
24
steps:
25
+ - name: Set up Homebrew
26
+ id: set-up-homebrew
27
+ uses: Homebrew/actions/setup-homebrew@master
28
+
29
- name: checkout
30
uses: actions/checkout@v4
31
32
+ - name: install dasel
33
+ run: |
34
+ brew install dasel
35
+ cat $GITHUB_ENV
36
37
- name: extract version
38
run: |
- version=`head -n1 gradle.properties`
39
+ version=`dasel -r toml -f gradle/libs.versions.toml versions.processor`
40
echo "BUILD_VERSION=${version#projectVersion=}" >> $GITHUB_ENV
41
cat $GITHUB_ENV
42
0 commit comments