From db10ff09490bf639056ee4112fecfbf6f457e8b5 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Mon, 11 Mar 2024 09:10:45 +0100 Subject: [PATCH] Modernize github actions --- .github/workflows/java.yml | 8 ++++---- README.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 4397973..1aebbc8 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -6,7 +6,7 @@ jobs: maven-ubuntu20: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: sudo apt-get install protobuf-compiler - name: Set up JDK 1.8 uses: actions/setup-java@v1 @@ -18,7 +18,7 @@ jobs: maven-ubuntu22: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: sudo apt-get install protobuf-compiler - name: Set up JDK 1.8 uses: actions/setup-java@v1 @@ -30,7 +30,7 @@ jobs: ant-ubuntu20: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: sudo apt-get install protobuf-compiler libprotobuf-java - name: Set up JDK 1.8 uses: actions/setup-java@v1 @@ -42,7 +42,7 @@ jobs: ant-ubuntu22: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: sudo apt-get install protobuf-compiler libprotobuf-java - name: Set up JDK 1.8 uses: actions/setup-java@v1 diff --git a/README.md b/README.md index 6ce55f5..e8635ec 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Note that this is a low-level library that does only part of the encoding/decoding needed for actually writing/reading an OSM PBF file. For something more complete see [libosmium](https://osmcode.org/libosmium/). -[![Github Actions C Build Status](https://github.com/openstreetmap/OSM-binary/workflows/C%20CI/badge.svg?branch=master)](https://github.com/openstreetmap/OSM-binary/actions) -[![Github Actions Java Build Status](https://github.com/openstreetmap/OSM-binary/workflows/Java%20CI/badge.svg?branch=master)](https://github.com/openstreetmap/OSM-binary/actions) +[![Github Actions C++ CI](https://github.com/openstreetmap/OSM-binary/actions/workflows/c.yml/badge.svg)](https://github.com/openstreetmap/OSM-binary/actions/workflows/c.yml) +[![Github Actions Java CI](https://github.com/openstreetmap/OSM-binary/actions/workflows/java.yml/badge.svg)](https://github.com/openstreetmap/OSM-binary/actions/workflows/java.yml) [![Packaging status](https://repology.org/badge/tiny-repos/libosmpbf.svg)](https://repology.org/project/libosmpbf/versions) ## Java Version