diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci.yml similarity index 81% rename from .github/workflows/ci-build.yml rename to .github/workflows/ci.yml index dbefeb1..2ec88b0 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ -name: CI Build -on: [push, pull_request, workflow_dispatch] +name: CI +on: [push, pull_request] jobs: build-java: strategy: @@ -92,26 +92,3 @@ jobs: name: ${{ matrix.freetype && 'freetype' || 'common' }} path: ${{ matrix.expected }} if-no-files-found: error - update-natives: - if: github.event_name == 'workflow_dispatch' - name: Update Natives - runs-on: ubuntu-20.04 - needs: build-natives - steps: - - name: Download Natives - uses: actions/download-artifact@v2 - with: - path: /tmp/artifacts - - - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Move Natives - run: | - mv /tmp/artifacts/common/* bin/ - mv /tmp/artifacts/freetype/* bin/freetype/ - - - uses: EndBug/add-and-commit@v7 - with: - message: '[skip ci] Update native binaries' - default_author: github_actions diff --git a/README.md b/README.md index 0359ddd..b9e2355 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # imgui-java [![Github All Releases](https://img.shields.io/github/downloads/SpaiR/imgui-java/total.svg?logo=github)](https://github.com/SpaiR/imgui-java/releases) -[![CI Build](https://github.com/SpaiR/imgui-java/workflows/CI%20Build/badge.svg)](https://github.com/SpaiR/imgui-java/actions?query=workflow%3A%22CI+Build%22) +[![CI](https://github.com/SpaiR/imgui-java/actions/workflows/ci.yml/badge.svg)](https://github.com/SpaiR/imgui-java/actions/workflows/ci.yml) [![Maven Central](https://img.shields.io/maven-central/v/io.github.spair/imgui-java-binding?logo=apache-maven)](https://search.maven.org/search?q=g:io.github.spair%20AND%20a:imgui-java-*) [![binding javadoc](https://javadoc.io/badge2/io.github.spair/imgui-java-binding/javadoc_binding.svg?logo=java)](https://javadoc.io/doc/io.github.spair/imgui-java-binding) [![app javadoc](https://javadoc.io/badge2/io.github.spair/imgui-java-app/javadoc_app.svg?logo=java)](https://javadoc.io/doc/io.github.spair/imgui-java-app)