Skip to content

Commit

Permalink
fix: remove duplicate build-steps/action.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Yukai Huang <[email protected]>
  • Loading branch information
Yukaii committed Oct 30, 2024
1 parent e9f97a7 commit e1f099b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 83 deletions.
76 changes: 0 additions & 76 deletions .github/actions/build-steps/action.yml

This file was deleted.

14 changes: 8 additions & 6 deletions .github/workflows/build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
platform:
required: true
type: string
platform_pair:
required: true
type: string
registry_image:
required: true
type: string
Expand All @@ -15,15 +18,14 @@ on:
buildpack:
required: true
type: string
runs_on:
required: true
type: string

jobs:
build:
runs-on: ${{ inputs.runs_on }}
steps:
-
name: Prepare Platform Environment
run: |
platform=${{ inputs.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
-
name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:
name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests-${{ env.PLATFORM_PAIR }}
name: digests-${{ inputs.platform_pair }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
2 changes: 1 addition & 1 deletion .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: 'hackmdio/buildpack:16.20.2-35fe7e39'
registry_image:
description: 'image name'
required: false
required: true
default: 'hackmdio/hackmd'

jobs:
Expand Down

0 comments on commit e1f099b

Please sign in to comment.