From 2cb5fedab7514d519a5b5c25113fe5c393dc172a Mon Sep 17 00:00:00 2001 From: Jason Ernst Date: Fri, 16 Jun 2023 14:10:43 -0700 Subject: [PATCH] rename workflow jobs, make test only run on PRs (#128) (#129) --- .github/workflows/publish-dev.yml | 2 +- .github/workflows/publish-production.yml | 2 +- .github/workflows/publish-staging.yml | 2 +- .github/workflows/{android.yml => test.yml} | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{android.yml => test.yml} (97%) diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index 6a93edf..db2b562 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -6,7 +6,7 @@ on: - main jobs: - deploy: + deploy-dev: runs-on: self-hosted steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish-production.yml b/.github/workflows/publish-production.yml index a488be5..127fdd9 100644 --- a/.github/workflows/publish-production.yml +++ b/.github/workflows/publish-production.yml @@ -6,7 +6,7 @@ on: - production jobs: - deploy: + deploy-production: runs-on: self-hosted steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish-staging.yml b/.github/workflows/publish-staging.yml index 159d2af..3c05238 100644 --- a/.github/workflows/publish-staging.yml +++ b/.github/workflows/publish-staging.yml @@ -6,7 +6,7 @@ on: - staging jobs: - deploy: + deploy-staging: runs-on: self-hosted steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/android.yml b/.github/workflows/test.yml similarity index 97% rename from .github/workflows/android.yml rename to .github/workflows/test.yml index 7954ae4..ac86ed3 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,8 @@ name: Gradle Build -on: [push] +on: + pull_request: + types: [ opened, synchronize ] jobs: build: