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 }}