workflows/sync_release-manifest: checkout backstage into backstage

Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-01-28 14:25:26 +01:00
parent 1c171329aa
commit 2301c0a526
+4 -2
View File
@@ -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 }}