From 91250b358468612969fe1adaaff9a1bfbf5ceba7 Mon Sep 17 00:00:00 2001 From: Andrew Truong Date: Mon, 12 Dec 2022 13:16:49 -0500 Subject: [PATCH] test --- action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index cebce9e..bcc28f5 100644 --- a/action.yml +++ b/action.yml @@ -3,6 +3,11 @@ description: Generate a Weights & Biases Report automatically via a template. S branding: icon: book-open color: yellow +inputs: + wandb_api_key: + description: Your wandb API key available at `/authorize`. We recommend setting this in github secrets! + required: true + default: ${{ secrets.wandb_api_key }} runs: using: composite steps: @@ -23,10 +28,9 @@ runs: echo "REPORT_URL=$report_url" >> $GITHUB_OUTPUT shell: bash env: - WANDB_API_KEY: ${{ secrets.wandb_api_key }} + WANDB_API_KEY: ${{ inputs.wandb_api_key }} - name: Echo Output run: | echo "Generated report at ${{ steps.generate-report.outputs.REPORT_URL }}" echo "Generated report at ${{ steps.generate-report.outputs.REPORT_URL }}" >> $GITHUB_STEP_SUMMARY - echo '' >> $GITHUB_STEP_SUMMARY shell: bash