chore: speedup test image upload
This commit is contained in:
parent
983ee11419
commit
0af5cdf219
|
|
@ -11,6 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
actions: read
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} # skip if unsuccessful
|
||||
steps:
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
|
|
@ -70,12 +71,12 @@ jobs:
|
|||
|
||||
- name: Fetch Docker image
|
||||
if: (env.TEST_CONTINUE)
|
||||
uses: dawidd6/action-download-artifact@b6e2e70617bc3265edd6dab6c906732b2f1ae151 # v21
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
workflow: ${{ github.event.workflow_run.workflow_id }}
|
||||
run_id: ${{ github.event.workflow_run.id }}
|
||||
name: docker-image
|
||||
run-id: ${{ github.event.workflow_run.id }}
|
||||
name: rsshub.tar.zst
|
||||
path: ../artifacts-${{ github.run_id }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Import Docker image and set up Docker container
|
||||
if: (env.TEST_CONTINUE)
|
||||
|
|
|
|||
|
|
@ -75,6 +75,6 @@ jobs:
|
|||
- name: Upload Docker image
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: docker-image
|
||||
archive: false
|
||||
path: rsshub.tar.zst
|
||||
retention-days: 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue