forked from me/IronOS-Meta
Update release.yml
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -7,11 +7,10 @@ on:
|
|||||||
- "main"
|
- "main"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-release:
|
release:
|
||||||
name: "Release"
|
name: "Release"
|
||||||
runs-on: "ubuntu-22.04"
|
runs-on: "ubuntu-22.04"
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies (apk)
|
- name: Install dependencies (apk)
|
||||||
run: sudo apt update && sudo apt-get install -y git python3 py3-pip zlib python3-pillow
|
run: sudo apt update && sudo apt-get install -y git python3 py3-pip zlib python3-pillow
|
||||||
@@ -24,7 +23,7 @@ jobs:
|
|||||||
run: mkdir -p /tmp/pinecil && mkdir -p /tmp/miniware
|
run: mkdir -p /tmp/pinecil && mkdir -p /tmp/miniware
|
||||||
|
|
||||||
- name: build all files for the device
|
- name: build all files for the device
|
||||||
#run: cd Bootup\ Logos && ./run.sh /tmp/pinecil/ -p && ./run.sh /tmp/miniware/ -m
|
run: cd Bootup\ Logos && ./run.sh /tmp/pinecil/ -p && ./run.sh /tmp/miniware/ -m
|
||||||
|
|
||||||
- name: build logo erase file
|
- name: build logo erase file
|
||||||
run: cd Bootup\ Logos && python3 img2logo.py -E erase_stored_image /tmp/pinecil/ -p && python3 img2logo.py -E erase_stored_image /tmp/miniware/ -m
|
run: cd Bootup\ Logos && python3 img2logo.py -E erase_stored_image /tmp/pinecil/ -p && python3 img2logo.py -E erase_stored_image /tmp/miniware/ -m
|
||||||
@@ -32,8 +31,6 @@ jobs:
|
|||||||
- name: compress logo files
|
- name: compress logo files
|
||||||
run: zip -r pinecil.zip /tmp/pinecil/* && zip -r miniware.zip /tmp/miniware/*
|
run: zip -r pinecil.zip /tmp/pinecil/* && zip -r miniware.zip /tmp/miniware/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user