From b54901bfb928b236e3b29cac7f8ee446c700b71b Mon Sep 17 00:00:00 2001 From: f1ames Date: Mon, 27 Nov 2023 15:38:50 +0100 Subject: [PATCH] ci: add handling of segment API key --- .github/workflows/release.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2bbec3b..f67792c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,6 +10,9 @@ jobs: release: runs-on: ubuntu-latest + env: + JOB_VARIABLE: 12345 + steps: - uses: actions/checkout@v4 @@ -19,6 +22,9 @@ jobs: - run: npm i + - name: Propagate SEGMENT API key + run: printf "export const SEGMENT_API_KEY = '%s';\n" "${{ secrets.TEST_SECRET }}" > src/config.ts + - name: Publish to marketplace id: publishPackage uses: HaaLeo/publish-vscode-extension@v1