From 25222a991376358e067932686ce2a9825b02fbbf Mon Sep 17 00:00:00 2001
From: matt1432 <matt@nelim.org>
Date: Tue, 21 Mar 2023 22:29:53 -0400
Subject: [PATCH] Add '.forgejo/workflows/updater.yaml'

---
 .forgejo/workflows/updater.yaml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 .forgejo/workflows/updater.yaml

diff --git a/.forgejo/workflows/updater.yaml b/.forgejo/workflows/updater.yaml
new file mode 100644
index 0000000..5d0ad36
--- /dev/null
+++ b/.forgejo/workflows/updater.yaml
@@ -0,0 +1,22 @@
+name: Updater
+on: push
+jobs:
+  Update-Apks:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-java@v2
+        with:
+          distribution: 'temurin'
+          java-version: '17'
+      - run: apt update
+      - run: apt install -y --no-install-recommends pipx python3-venv python3.9 python3-pip git
+      - run: pipx install pipenv
+      - uses: actions/setup-python@v2
+        with:
+          cache: 'pipenv'
+          cache-dependency-path: 'updater/Pipfile.lock'
+      - run: pipenv install
+        working-directory: updater
+      - run: pipenv run python main.py
+        working-directory: updater
\ No newline at end of file