mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
fix action
This commit is contained in:
parent
9500fb2e1d
commit
f001589631
1 changed files with 5 additions and 5 deletions
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
|
@ -108,11 +108,11 @@ jobs:
|
|||
|
||||
# release media step1
|
||||
- name: Create more files
|
||||
run: |
|
||||
version_core=$(grep 'ARG MEDIA_VERSION' "docker/apphub/Dockerfile" | cut -d'"' -f2 | xargs)
|
||||
cp ${{env.DIRECTORY}}/media.zip media/media-latest.zip
|
||||
cp media/media-latest.zip media/media-$version_core.zip
|
||||
jq --arg version "$version_core" '.Version = $version' media/media.json > media/temp.json && mv media/temp.json media/media.json
|
||||
run: |
|
||||
version_core=$(grep 'ARG MEDIA_VERSION' "docker/apphub/Dockerfile" | cut -d'"' -f2 | xargs)
|
||||
cp ${{env.DIRECTORY}}/media.zip media/media-latest.zip
|
||||
cp media/media-latest.zip media/media-$version_core.zip
|
||||
jq --arg version "$version_core" '.Version = $version' media/media.json > media/temp.json && mv media/temp.json media/media.json
|
||||
if: env.APP == 'apphub' && env.MEDIA_FROM == 'source'
|
||||
|
||||
# release media step2
|
||||
|
|
Loading…
Reference in a new issue