Unverified Commit d8eedce0 authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

去除sha256文件

parent a3dad899
......@@ -80,14 +80,6 @@ jobs:
done
ls ${{ github.workspace }}/bin/targets/bcm27xx/${{ env.cpu }}
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/bcm27xx/${{ env.cpu }}/*squashfs-factory.img.gz ${{ github.workspace }}
for file in *squashfs-factory.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Create info
run: |
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
......@@ -103,8 +95,7 @@ jobs:
tag_name: Autobuild-raspberrypi
body_path: ${{ github.workspace }}/info.md
files: |
${{ github.workspace }}/*.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/bcm27xx/${{ env.cpu }}/*squashfs-factory.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......@@ -80,14 +80,6 @@ jobs:
done
ls ${{ github.workspace }}/bin/targets/bcm27xx/${{ env.cpu }}
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/bcm27xx/${{ env.cpu }}/*squashfs-factory.img.gz ${{ github.workspace }}
for file in *squashfs-factory.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Create info
run: |
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
......@@ -103,8 +95,7 @@ jobs:
tag_name: Autobuild-raspberrypi
body_path: ${{ github.workspace }}/info.md
files: |
${{ github.workspace }}/*.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/bcm27xx/${{ env.cpu }}/*squashfs-factory.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......@@ -93,14 +93,6 @@ jobs:
immortalwrt/imagebuilder:$tag /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/${{ env.platform }}/*.bin ${{ github.workspace }}
for file in *.bin; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Create info
run: |
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
......@@ -117,8 +109,7 @@ jobs:
name: ImmortalWrt-GL-iNet
body_path: ${{ github.workspace }}/mediatek-filogic/info.md
files: |
${{ github.workspace }}/*.bin
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/${{ env.platform }}/*.bin
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......@@ -98,13 +98,6 @@ jobs:
immortalwrt/imagebuilder:rockchip-armv8-openwrt-23.05.4 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz ${{ github.workspace }}
for file in *.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Upload ImmortWrt as release assets
uses: softprops/action-gh-release@v2.2.1
......@@ -113,8 +106,7 @@ jobs:
name: ImmortWrt-Rockchip
body_path: ${{ github.workspace }}/info.md
files: |
${{ github.workspace }}/*.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
......@@ -118,13 +118,7 @@ jobs:
-e PPPOE_PASSWORD=${{ inputs.pppoe_password }} \
immortalwrt/imagebuilder:rockchip-armv8-openwrt-24.10.2 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz ${{ github.workspace }}
for file in *.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Upload ImmortWrt as release assets
uses: softprops/action-gh-release@v2.2.1
......@@ -133,8 +127,7 @@ jobs:
name: ImmortWrt-Rockchip
body_path: ${{ github.workspace }}/info.md
files: |
${{ github.workspace }}/*.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/rockchip/armv8/*.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......@@ -68,14 +68,6 @@ jobs:
immortalwrt/imagebuilder:sunxi-cortexa53-openwrt-23.05.4 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/sunxi/cortexa53/*squashfs-sdcard.img.gz ${{ github.workspace }}
for file in *.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Create info
run: |
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
......@@ -92,8 +84,7 @@ jobs:
name: ImmortalWrt-sunxi-cortexa53
body_path: ${{ github.workspace }}/sunxi-cortexa53/info.md
files: |
${{ github.workspace }}/*.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/sunxi/cortexa53/*squashfs-sdcard.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......@@ -70,14 +70,7 @@ jobs:
immortalwrt/imagebuilder:sunxi-cortexa53-openwrt-24.10.2 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/sunxi/cortexa53/*squashfs-sdcard.img.gz ${{ github.workspace }}
for file in *.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Create info
run: |
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
......@@ -94,8 +87,7 @@ jobs:
name: ImmortalWrt-sunxi-cortexa53
body_path: ${{ github.workspace }}/sunxi-cortexa53/info.md
files: |
${{ github.workspace }}/*.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/sunxi/cortexa53/*squashfs-sdcard.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......@@ -75,12 +75,6 @@ jobs:
-e PPPOE_PASSWORD=${{ inputs.pppoe_password }} \
immortalwrt/imagebuilder:x86-64-openwrt-23.05.4 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/x86/64/immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz ${{ github.workspace }}
sha256sum immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz > immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz.sha256
sha256sum -c immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz.sha256
- name: Create info
run: |
......@@ -97,8 +91,7 @@ jobs:
tag_name: Autobuild-x86-64
body_path: ${{ github.workspace }}/info.md
files: |
${{ github.workspace }}/immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz
${{ github.workspace }}/immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz.sha256
${{ github.workspace }}/bin/targets/x86/64/immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......
......@@ -76,14 +76,6 @@ jobs:
immortalwrt/imagebuilder:x86-64-openwrt-24.10.2 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Generate Firmware SHA-256
run: |
cp ${{ github.workspace }}/bin/targets/x86/64/*squashfs-combined-efi.img.gz ${{ github.workspace }}
for file in *squashfs-combined-efi.img.gz; do
sha256sum "$file" > "$file.sha256"
sha256sum -c "$file.sha256"
done
- name: Create info
run: |
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
......@@ -99,8 +91,7 @@ jobs:
tag_name: Autobuild-x86-64
body_path: ${{ github.workspace }}/info.md
files: |
${{ github.workspace }}/*squashfs-combined-efi.img.gz
${{ github.workspace }}/*.sha256
${{ github.workspace }}/bin/targets/x86/64/*squashfs-combined-efi.img.gz
token: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment