Update actions/upload-artifact to v4
All checks were successful
Cache OSM data / cache (push) Successful in 21m49s

and remove hardcoded alpine runner
This commit is contained in:
Charles P. 2024-07-06 18:41:55 +02:00
parent 835397a6ba
commit 443ddd9ec9
Signed by untrusted user who does not match committer: aeris
GPG key ID: 1708D5CC4095E76B

View file

@ -10,13 +10,7 @@ on:
jobs: jobs:
cache: cache:
runs-on: docker runs-on: docker
container:
image: 'alpine:latest'
steps: steps:
- name: Install curl
run: |
apk add --no-cache curl
- name: Download OSM data - name: Download OSM data
run: | run: |
curl -L -o osm.pbf \ curl -L -o osm.pbf \
@ -37,9 +31,10 @@ jobs:
output_file: competences-territoriales.geojson output_file: competences-territoriales.geojson
- name: Upload as artifact - name: Upload as artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
with: with:
name: competences-territoriales name: competences-territoriales
path: competences-territoriales.geojson
- name: Upload to Forgejo Package Registry - name: Upload to Forgejo Package Registry
run: | run: |