mirror of
https://github.com/dathere/ckan_geoconnex_bulk_runner.git
synced 2026-07-05 15:12:20 +00:00
feat: enhanced cargo workspace, NM usage, Dockerfile
This commit is contained in:
parent
71b08a53f0
commit
3a79fb2b0a
18 changed files with 362 additions and 2478 deletions
26
.github/workflows/release.yml
vendored
Normal file
26
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
name: Publish CKAN-Geoconnex JSONL file as latest release
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
permissions:
|
||||
# To upload to releases
|
||||
contents: write
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish JSONL file
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Install Rust stable toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
- name: Cache cargo deps and target folder
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ". -> target"
|
||||
- name: Run generate_release crate and upload JSONL file
|
||||
run: |
|
||||
cd ${{github.workspace}}
|
||||
cargo run -p generate_release --release --verbose > ckan-geoconnex-web-resources.jsonl
|
||||
gh release upload ${{github.event.release.tag_name}} ckan-geoconnex-web-resources.jsonl
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue