Skip to content

Commit 6bdd416

Browse files
committed
uses zip by default
1 parent d6c9d4a commit 6bdd416

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
echo "Building Pi Image..."
6363
cd pi-gen
64-
export DWE_VERSION=${{github.event.release.name}}
64+
echo "DWE_VERSION=${{github.event.release.name}}" >> config
6565
sudo ./build.sh -c ./config
6666
6767
- name: "Fix Permissions of Deploy Directory"
@@ -70,15 +70,15 @@ jobs:
7070
- name: "Find Pi Image File"
7171
id: find_image
7272
run: |
73-
IMAGE_FILE=$(find pi-gen/deploy -name "*.tar.gz" | head -1)
73+
IMAGE_FILE=$(find pi-gen/deploy -name "*.zip" | head -1)
7474
echo "image_file=$IMAGE_FILE" >> $GITHUB_OUTPUT
7575
7676
- name: "Upload Pi Image to Release"
7777
uses: actions/upload-release-asset@v1
7878
with:
7979
upload_url: ${{ github.event.release.upload_url }}
8080
asset_path: ${{ steps.find_image.outputs.image_file }}
81-
asset_name: DWE_OS_${{ github.event.release.name }}.tar.gz
82-
asset_content_type: application/gzip
81+
asset_name: DWE_OS_${{ github.event.release.name }}.zip
82+
asset_content_type: application/zip
8383
env:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)