mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
fix: upload img instead of zip
This commit is contained in:
parent
a1b0ade0a5
commit
d90ccf4277
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -31,11 +31,16 @@ jobs:
|
|||||||
verbose-output: true
|
verbose-output: true
|
||||||
pi-gen-version: ${{ matrix.pi_gen_version }}
|
pi-gen-version: ${{ matrix.pi_gen_version }}
|
||||||
|
|
||||||
|
- name: Unzip and Rename Image File
|
||||||
|
run: |
|
||||||
|
unzip ${{ steps.build.outputs.image-path }} -d extracted_image
|
||||||
|
mv "$(find extracted_image -name "*.img")" "raspap-image-${{ github.ref_name }}-${{ matrix.arch }}.img"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
asset_name: raspap-image-${{ github.ref_name }}-${{ matrix.arch }}.zip
|
file: raspap-image-${{ github.ref_name }}-${{ matrix.arch }}.img
|
||||||
file: ${{ steps.build.outputs.image-path }}
|
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
file_glob: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user