Update update-os.yml
This commit is contained in:
parent
7c21807458
commit
c0794d7e6d
7
.github/workflows/update-os.yml
vendored
7
.github/workflows/update-os.yml
vendored
@ -84,8 +84,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Compress the release image
|
- name: Compress the release image
|
||||||
run: |
|
run: |
|
||||||
mv ${{ steps.build_image.outputs.image }} InkycalOS_Lite_$(date +'%y%m%d').img
|
current_date=$(date +'%y%m%d')
|
||||||
xz -0 -T 0 -v InkycalOS_Lite_$(date +'%y%m%d').img
|
mv ${{ steps.build_image.outputs.image }} "InkycalOS_Lite_${current_date}.img"
|
||||||
|
xz -0 -T 0 -v "InkycalOS_Lite_${current_date}.img"
|
||||||
|
|
||||||
- name: Get latest release version
|
- name: Get latest release version
|
||||||
run: |
|
run: |
|
||||||
@ -99,4 +100,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ env.version }}
|
tag_name: ${{ env.version }}
|
||||||
files: InkycalOS_Lite_$(date +'%y%m%d').img.xz
|
files: "InkycalOS_Lite_${current_date}.img.xz"
|
||||||
|
Loading…
Reference in New Issue
Block a user