Update update-os.yml

This commit is contained in:
Ace 2023-12-21 19:05:12 +01:00 committed by GitHub
parent 7c21807458
commit c0794d7e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"