From 2301c0a526a01249aa0db976a052ed815947a5b1 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Fri, 28 Jan 2022 14:25:26 +0100 Subject: [PATCH] workflows/sync_release-manifest: checkout backstage into backstage Co-authored-by: blam Signed-off-by: Patrik Oldsberg --- .github/workflows/sync_release-manifest.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync_release-manifest.yml b/.github/workflows/sync_release-manifest.yml index 00e7630432..e83a61dcb7 100644 --- a/.github/workflows/sync_release-manifest.yml +++ b/.github/workflows/sync_release-manifest.yml @@ -20,14 +20,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 with: + path: backstage ref: ${{ github.event.inputs.version }} - # Checkout backstage/versions into /versions, which is where store the output + # Checkout backstage/versions into /backstage/versions, which is where store the output - name: Checkout versions uses: actions/checkout@v2 with: repository: backstage/versions - path: versions + path: backstage/versions token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }} - name: Configure Git @@ -38,6 +39,7 @@ jobs: - name: Create release # This grabs the scripts from master in order to support backfills run: | + cd backstage mkdir -p scripts wget -O scripts/assemble-manifest.js https://raw.githubusercontent.com/backstage/backstage/master/scripts/assemble-manifest.js node scripts/assemble-manifest.js ${{ github.event.inputs.version }}