From b060bef9801842fd0ad741b0941578f7c4d5b4f8 Mon Sep 17 00:00:00 2001 From: Vaibhav Singhal Date: Thu, 22 Feb 2024 17:51:34 +0000 Subject: [PATCH] separate jobs for env vars/secrets --- .github/workflows/secrets.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/secrets.yml b/.github/workflows/secrets.yml index 9a6b0fd..f9e8c39 100644 --- a/.github/workflows/secrets.yml +++ b/.github/workflows/secrets.yml @@ -6,10 +6,13 @@ on: env: DB_NAME: "my-db" jobs: - test: + test-env-vars: runs-on: ubuntu-latest steps: - name: test environment variables - run: echo "test ENV var" - - name: test secrets - run: echo "test env secrets" \ No newline at end of file + run: echo "test ENV var" - $DB_NAME + test-env-secrets: + runs-on: ubuntu-latest + steps: + - name: test secrets + run: echo "test env secrets" \ No newline at end of file