fix(workflows): use correct artifact name for build-plan

Also rename build-plan artifact from "build-plan.yml" to "build-plan".
This commit is contained in:
2021-10-11 02:25:50 +01:00
parent aab02b7454
commit 482bde4c00
5 changed files with 10 additions and 10 deletions

View File

@@ -107,10 +107,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show plan
run: cat build-plan.yml
- name: Upload build-plan.yml artifact
- name: Upload build-plan artifact
uses: actions/upload-artifact@v2
with:
name: ${{ inputs.artifact_prefix }}build-plan.yml
name: ${{ inputs.artifact_prefix }}build-plan
path: build-plan.yml
if-no-files-found: error
- name: Check if planned release and asset already exist
@@ -140,10 +140,10 @@ jobs:
- name: Install dependencies
run: make bootstrap-ci
working-directory: builder
- name: Download build-plan.yml artifact
- name: Download build-plan artifact
uses: actions/download-artifact@v2
with:
name: ${{ inputs.artifact_prefix }}build-plan.yml
name: ${{ inputs.artifact_prefix }}build-plan
path: ./
- name: Build Emacs
run: >-
@@ -174,10 +174,10 @@ jobs:
path: bin
- name: Ensure emacs-builder is executable
run: chmod +x bin/emacs-builder
- name: Download build-plan.yml artifact
- name: Download build-plan artifact
uses: actions/download-artifact@v2
with:
name: ${{ inputs.artifact_prefix }}build-plan.yml
name: ${{ inputs.artifact_prefix }}build-plan
path: ./
- name: Download unsigned app artifact
uses: actions/download-artifact@v2

View File

@@ -5,7 +5,7 @@ on:
workflow_call:
inputs:
plan_artifact:
description: Name of artifact containing a emacs-builder plan.yml file
description: Name of artifact containing a emacs-builder plan yaml file
type: string
required: true
dmg_artifact:

View File

@@ -61,7 +61,7 @@ jobs:
needs: [build]
uses: jimeh/emacs-builds/.github/workflows/_release.yml@main
with:
plan_artifact: big-sur_build-plan.yml
plan_artifact: build-plan
dmg_artifact: dmg
secrets:
TAP_REPO_TOKEN: ${{ secrets.TAP_REPO_TOKEN }}

View File

@@ -41,7 +41,7 @@ jobs:
needs: [build]
uses: jimeh/emacs-builds/.github/workflows/_release.yml@main
with:
plan_artifact: catalina_build-plan.yml
plan_artifact: build-plan
dmg_artifact: dmg
secrets:
TAP_REPO_TOKEN: ${{ secrets.TAP_REPO_TOKEN }}

View File

@@ -41,7 +41,7 @@ jobs:
needs: [build]
uses: jimeh/emacs-builds/.github/workflows/_release.yml@main
with:
plan_artifact: catalina_build-plan.yml
plan_artifact: build-plan
dmg_artifact: dmg
secrets:
TAP_REPO_TOKEN: ${{ secrets.TAP_REPO_TOKEN }}