From 7a40f94057ded51fe2bb5b51dbf9107bb5da32f0 Mon Sep 17 00:00:00 2001 From: Nickwasused Date: Sat, 25 Feb 2023 17:30:06 +0100 Subject: [PATCH] move database generation to generate.yml --- .github/workflows/database.yml | 16 ---------------- .github/workflows/generate.yml | 4 ++++ 2 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/database.yml diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml deleted file mode 100644 index 93e275d..0000000 --- a/.github/workflows/database.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Sqlite3 - -on: - release: - types: [published] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - run: python database.py - diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 2cd67b3..46aaed5 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -14,8 +14,12 @@ jobs: - uses: denoland/setup-deno@v1 with: deno-version: v1.x + - uses: actions/setup-python@v4 + with: + python-version: '3.11' - name: Run run: deno task run + - run: python database.py - name: Release uses: fnkr/github-action-ghr@v1 env: