diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 1fb9ed4..60e6d1f 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -3,6 +3,7 @@ name: Example env: NODE_VERSION: 20 + MY_SECRET_KEY: ${{ secrets.SECRET_KEY }} on: workflow_dispatch: @@ -51,7 +52,7 @@ jobs: pnpm pack && mv adguard-github-actions-runner-*.tgz github-actions-runner.tgz # Show that secrets are encoded - echo KEY: ${secrets.KEY} + echo KEY: $MY_SECRET_KEY - name: Save archived package uses: actions/upload-artifact@v4 with: diff --git a/bamboo-specs/example.yaml b/bamboo-specs/example.yaml index 3e619b3..3142951 100644 --- a/bamboo-specs/example.yaml +++ b/bamboo-specs/example.yaml @@ -47,8 +47,8 @@ Test: --rev "$revision" \ --workflow example.yml \ --artifacts-path . - --secret KEY=VALUE - --secret KEY2=VALUE2 + --secret SECRET_KEY=SECRET_VALUE + --secret SECRET_KEY2=SECRET_VALUE2 artifacts: - name: github-actions-runner.tgz pattern: github-actions-runner.tgz