Bump osmnodecache from 0.8.1 to 0.8.4 #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install libgeos-dev | |
run: sudo apt-get install -y libgeos-dev | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: source .cargo-husky/hooks/pre-push | |
- name: Build release | |
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') | |
run: cargo build --release | |
- name: Gzip release | |
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') | |
run: | | |
gzip -c -9 target/release/osm2rdf > osm2rdf.gz | |
- name: Publish release | |
uses: softprops/action-gh-release@v1 | |
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') | |
with: | |
files: | | |
osm2rdf.gz |