File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - name : checkout
1313 uses : actions/checkout@v3
14- - name : Set up Python 3.8
14+ - name : Set up Python 3.12
1515 uses : actions/setup-python@v1
16- with : { python-version: 3.8 }
16+ with : { python-version: 3.12 }
1717 - name : Install pip and pipenv
1818 run : |
1919 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 1111 steps :
1212 - name : checkout
1313 uses : actions/checkout@v2
14- - name : Set up Python 3.8
14+ - name : Set up Python 3.12
1515 uses : actions/setup-python@v1
16- with : { python-version: 3.8 }
16+ with : { python-version: 3.12 }
1717 - name : Install pip and pipenv
1818 run : |
1919 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 88 type : boolean
99 description : Check if organization has geospatial duplicates
1010 required : true
11+ keep :
12+ type : choice
13+ description : ' Keep'
14+ required : true
15+ default : ' newest'
16+ options :
17+ - newest
18+ - oldest
1119 dryrun :
1220 type : boolean
1321 description : Only run the dryrun
@@ -161,9 +169,9 @@ jobs:
161169 steps :
162170 - name : checkout
163171 uses : actions/checkout@v2
164- - name : Set up Python 3.8
172+ - name : Set up Python 3.12
165173 uses : actions/setup-python@v1
166- with : { python-version: 3.8 }
174+ with : { python-version: 3.12 }
167175 - name : Install pip and pipenv
168176 run : |
169177 python -m pip install --upgrade pip
@@ -176,6 +184,8 @@ jobs:
176184 if ${{ inputs.geospatial }}; then
177185 args="${args} --geospatial"
178186 fi
187+ if ${{ inputs.keep == 'newest' }}; then
188+ args="${args} --newest"
179189 if ! ${{ inputs.dryrun }}; then
180190 args="${args} --commit"
181191 args="${args} --api-key ${{secrets.CKAN_API_TOKEN}}"
You can’t perform that action at this time.
0 commit comments