Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 2 additions & 29 deletions .github/workflows/docker-multistage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,8 @@ jobs:
###
### Export current image
###
- name: "[Artifact Save] (try-1)"
id: upload-1
uses: cytopia/[email protected]
continue-on-error: true
- name: "[Artifact Save] Upload built artifact"
uses: cytopia/[email protected]
with:
name: ${{ steps.set-artifact-name.outputs.curr }}
path: ${{ steps.set-artifact-name.outputs.curr }}
Expand All @@ -160,28 +158,3 @@ jobs:
post_command: |
make load INFILE={{download_path}}
if: ${{ inputs.upload_artifact }}

- name: "[Artifact Save] (try-2)"
id: upload-2
uses: cytopia/[email protected]
continue-on-error: true
with:
name: ${{ steps.set-artifact-name.outputs.curr }}
path: ${{ steps.set-artifact-name.outputs.curr }}
pre_command: |
make save-verify VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} OUTFILE=${{ steps.set-artifact-name.outputs.curr }} INFILE=${{ steps.set-artifact-name.outputs.curr }}
post_command: |
make load INFILE={{download_path}}
if: ${{ inputs.upload_artifact && steps.upload-1.outcome == 'failure' }}

- name: "[Artifact Save] (try-3)"
id: upload-3
uses: cytopia/[email protected]
with:
name: ${{ steps.set-artifact-name.outputs.curr }}
path: ${{ steps.set-artifact-name.outputs.curr }}
pre_command: |
make save-verify VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }} OUTFILE=${{ steps.set-artifact-name.outputs.curr }} INFILE=${{ steps.set-artifact-name.outputs.curr }}
post_command: |
make load INFILE={{download_path}}
if: ${{ inputs.upload_artifact && steps.upload-2.outcome == 'failure' }}