From 44228f9d8d39464047b66ab8a9e72a18175ea57f Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 26 Sep 2024 01:20:50 +0000 Subject: [PATCH] test secret --- .github/workflows/python-app.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 7d86ab3..8bae1e2 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -9,9 +9,6 @@ on: permissions: contents: read -env: - API_KEY: ${{ secrets.API_KEY }} - jobs: build: @@ -46,6 +43,20 @@ jobs: - name: Sort imports with isort run: | isort . --profile=black --check-only --verbose + - name: Show secret + run: | + echo "API_KEY: $API_KEY" + env: + API_KEY: ${{ secrets.API_KEY }} + + - name: Show secret 2 + env: + API_KEY: ${{ secrets.API_KEY }} + run: | + echo "API_KEY: $API_KEY" + - name: Test with unittest + env: + API_KEY: ${{ secrets.API_KEY }} run: | poetry run python -m unittest discover