aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update_publicsuffix_data.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update_publicsuffix_data.yml')
-rw-r--r--.github/workflows/update_publicsuffix_data.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml
index b97aab54..609769dc 100644
--- a/.github/workflows/update_publicsuffix_data.yml
+++ b/.github/workflows/update_publicsuffix_data.yml
@@ -2,7 +2,7 @@ name: Update Publix Suffix List data
on:
workflow_dispatch:
schedule:
- - cron: '0 0 * * 6'
+ - cron: "0 0 * * 6"
jobs:
update-publicsuffix-data:
@@ -12,30 +12,30 @@ jobs:
uses: actions/checkout@v2.4.0
- name: Set up JDK
- uses : actions/setup-java@v2.4.0
- with :
- distribution : 'zulu'
- java-version : '17'
- cache: 'gradle'
+ uses: actions/setup-java@v2.4.0
+ with:
+ distribution: zulu
+ java-version: 17
+ cache: gradle
- name: Download new publicsuffix data
uses: gradle/gradle-build-action@v2.1.3
with:
- arguments: updatePSL
+ arguments: --no-configuration-cache updatePSL
- name: Compare list changes
- run: if [[ $(git diff --binary --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
+ run: if [[ $(git diff --binary --stat) != "" ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi
- name: Verify update publicsuffixes file
uses: gradle/gradle-build-action@v2.1.3
- if: env.UPDATED == 'true'
+ if: env.UPDATED == "true"
with:
- arguments: :autofill-parser:test -PslimTests
+ arguments: --no-configuration-cache :autofill-parser:test -PslimTests
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3.12.1
- if: env.UPDATED == 'true'
+ if: env.UPDATED == "true"
with:
assignees: msfjarvis
author: GitHub Actions <noreply@github.com>
@@ -48,7 +48,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Close, re-open and enable squash merge for PR
- if: steps.cpr.outputs.pull-request-operation == 'created'
+ if: steps.cpr.outputs.pull-request-operation == "created"
shell: bash
run: |
gh pr close "${PR_URL}"