Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Feb 5, 2025
1 parent 9234de3 commit 33d32a9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,22 @@ jobs:
- name: Reuse workflow run id
run: "echo ${{ steps.startAndWaitWorkflow.outputs.run-id }}"
if: env.APP == 'apphub' && env.MEDIA_FROM == 'source'

- name: Download media.zip from artifacts
uses: Legit-Labs/action-download-artifact@v2
uses: actions/download-artifact@v4
with:
workflow: media.yml
name: media
path: ${{env.DIRECTORY}}
github_token: ${{ secrets.MYGITHUB_ADMIN_TOKEN }}
run_id: ${{ steps.startAndWaitWorkflow.outputs.run-id }}
if: env.APP == 'apphub' && env.MEDIA_FROM == 'source'
# - name: Download media.zip from artifacts
# uses: Legit-Labs/action-download-artifact@v2
# with:
# workflow: media.yml
# name: media
# path: ${{env.DIRECTORY}}
# github_token: ${{ secrets.MYGITHUB_ADMIN_TOKEN }}
# run_id: ${{ steps.startAndWaitWorkflow.outputs.run-id }}
# if: env.APP == 'apphub' && env.MEDIA_FROM == 'source'

- name: Download media-latest.zip from Websoft9 artifact
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/apphub/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file can running at actions
# MEDIA_VERSION and LIBRARY_VERSION will trigger its release
# modify time: 202502051605, you can modify here to trigger Docker Build action
# modify time: 202502051630, you can modify here to trigger Docker Build action


FROM python:3.10-slim-bullseye
Expand Down

0 comments on commit 33d32a9

Please sign in to comment.