From b2a850b5ea47dac588f68dca416dd9e93061696f Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sat, 2 Mar 2024 22:53:35 +1100 Subject: [PATCH] ci: rename jobs, remove extraneous needs in release --- .../workflows/{build.yml => build-installer.yml} | 2 +- .../{python-test.yml => python-tests.yml} | 0 .github/workflows/release.yml | 16 ++-------------- 3 files changed, 3 insertions(+), 15 deletions(-) rename .github/workflows/{build.yml => build-installer.yml} (98%) rename .github/workflows/{python-test.yml => python-tests.yml} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build-installer.yml similarity index 98% rename from .github/workflows/build.yml rename to .github/workflows/build-installer.yml index 728f8e5fea..dbd797c5e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build-installer.yml @@ -5,7 +5,7 @@ on: workflow_call: jobs: - build: + build-installer: runs-on: ubuntu-latest timeout-minutes: 5 # expected run time: <2 min steps: diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-tests.yml similarity index 100% rename from .github/workflows/python-test.yml rename to .github/workflows/python-tests.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e7a689629..444ae33714 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: build & release +name: release on: push: @@ -20,31 +20,19 @@ jobs: version_file_path: invokeai/version/invokeai_version.py frontend-checks: - needs: check-version uses: ./.github/workflows/frontend-checks.yml frontend-tests: - needs: check-version uses: ./.github/workflows/frontend-tests.yml python-checks: - needs: check-version uses: ./.github/workflows/python-checks.yml python-tests: - needs: check-version uses: ./.github/workflows/python-tests.yml build: - needs: - [ - check-version, - frontend-checks, - frontend-tests, - python-checks, - python-tests, - ] - uses: ./.github/workflows/build.yml + uses: ./.github/workflows/build-installer.yml publish-testpypi: runs-on: ubuntu-latest