From 0cdef0271ca9317cdba6f455ffd67077b0fbf4e4 Mon Sep 17 00:00:00 2001 From: SpaiR Date: Sun, 30 May 2021 22:34:41 +0300 Subject: [PATCH] [ci skip] Add Update Natives workflow --- .github/workflows/update_natives.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/update_natives.yml diff --git a/.github/workflows/update_natives.yml b/.github/workflows/update_natives.yml new file mode 100644 index 0000000..b634591 --- /dev/null +++ b/.github/workflows/update_natives.yml @@ -0,0 +1,28 @@ +name: Update Natives +on: workflow_dispatch +jobs: + update-natives: + name: Update Natives + runs-on: ubuntu-latest + steps: + - name: Download Natives + uses: dawidd6/action-download-artifact@v2 + with: + workflow: ci.yml + branch: master + event: push + path: /tmp/artifacts + + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Update Natives + run: | + mv /tmp/artifacts/common/* bin/ + mv /tmp/artifacts/freetype/* bin/freetype/ + + - name: Commit Natives + uses: EndBug/add-and-commit@v7 + with: + default_author: github_actions + message: '[ci skip] Update native binaries'