From 17931e90e4f2066b8d6de72842e297685a5c93cf Mon Sep 17 00:00:00 2001 From: Nicolas Hedger Date: Wed, 8 Nov 2023 15:02:57 +0100 Subject: [PATCH] ci(_package): mark nightly build as preview --- .github/workflows/_package.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/_package.yaml b/.github/workflows/_package.yaml index badbeb92..d936c365 100644 --- a/.github/workflows/_package.yaml +++ b/.github/workflows/_package.yaml @@ -40,6 +40,13 @@ jobs: tempfile=$(mktemp) jq '.displayName = "Biome (nightly)"' package.json > $tempfile mv $tempfile package.json + + - name: Mark nightly build as preview in package.json + if: ${{ github.event.inputs.nightly }} + run: | + tempfile=$(mktemp) + jq '.preview = true' package.json > $tempfile + mv $tempfile package.json - name: Generate nightly version identifier (nightly) if: ${{ github.event.inputs.nightly }}