From 34ca8b90d038f7edf5d1f8ccd70a6d7294ecc7de Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Sun, 18 Sep 2022 17:52:19 -0500 Subject: [PATCH] Update ci.yml Fix formatting --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c9bffe9..16a9f57d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: push: branches: - main + paths-ignore: + - '.github/**' schedule: - cron: '0 10 * * *' # Once per day at 10am UTC workflow_dispatch: @@ -50,10 +52,10 @@ jobs: run: | ./gradlew publishArtifact -PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD" -PossrhUsername="$OSSRH_TOKEN_USERNAME" -PossrhPassword="$OSSRH_TOKEN_PASSWORD" --stacktrace - id: extract_version - name: Extract current version - run: | - version=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}') - echo "::set-output name=project_version::$version" + name: Extract current version + run: | + version=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}') + echo "::set-output name=project_version::$version" perform_release: name: Perform release needs: [build_and_deploy]