Merge branch 'azwhikaru:main' into main

This commit is contained in:
Momo5418 2024-11-16 12:23:59 +08:00 committed by GitHub
commit c558893529
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 25 additions and 22 deletions

View File

@ -64,7 +64,8 @@ jobs:
# You might want to Checkout your repo first, but not mandatory
- name: Check Out
uses: actions/checkout@v3
uses: actions/checkout@v4
# Cleanup The Actions Workspace Using Custom Composite Run Actions
- name: Cleanup
uses: rokibhasansagar/slimhub_actions@main
@ -77,17 +78,19 @@ jobs:
sudo apt -y install gperf gcc-multilib gcc-10-multilib g++-multilib g++-10-multilib libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev tree lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc bc ccache lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-gtk3-dev libxml2 lzop pngcrush schedtool squashfs-tools imagemagick libbz2-dev lzma ncftp qemu-user-static libstdc++-10-dev libncurses5 python3
- name: Install OpenJDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
java-version: '11'
- name: Setup SSH Keys
if: ${{ startsWith(github.event.inputs.MANIFEST_URL, 'git@github.com') }}
uses: webfactory/ssh-agent@v0.5.4
if: ${{ startsWith(github.event.inputs.MANIFEST_URL, 'git@github.com') ||
startsWith(github.event.inputs.DEVICE_TREE_URL, 'git@github.com') ||
startsWith(github.event.inputs.COMMON_TREE_URL, 'git@github.com') }}
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY }}
${{ secrets.SSH_PRIVATE_KEY }}
- name: Install repo
run: |
@ -152,7 +155,7 @@ jobs:
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
- name: Upload to Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ github.event.inputs.BUILD_TARGET }}.img

View File

@ -64,7 +64,8 @@ jobs:
# You might want to Checkout your repo first, but not mandatory
- name: Check Out
uses: actions/checkout@v3
uses: actions/checkout@v4
# Cleanup The Actions Workspace Using Custom Composite Run Actions
- name: Cleanup
uses: rokibhasansagar/slimhub_actions@main
@ -74,24 +75,23 @@ jobs:
run: |
sudo apt update
sudo apt -y upgrade
sudo apt -y install gperf gcc-multilib gcc-10-multilib g++-multilib g++-10-multilib libc6-dev lib32ncurses5-dev x11proto-core-dev libx11-dev tree lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc bc ccache lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk3.0-gtk3-dev libxml2 lzop pngcrush schedtool squashfs-tools imagemagick libbz2-dev lzma ncftp qemu-user-static libstdc++-10-dev libncurses5 python3
sudo apt -y install gperf gcc-multilib gcc-10-multilib g++-multilib g++-10-multilib libc6-dev lib32ncurses-dev x11proto-core-dev libx11-dev tree lib32z-dev libgl1-mesa-dev libxml2-utils xsltproc bc ccache lib32readline-dev lib32z1-dev liblz4-tool libncurses-dev libsdl1.2-dev build-essential libgtk-3-dev libglu1-mesa-dev freeglut3-dev git libxml2 lzop pngcrush schedtool squashfs-tools imagemagick libbz2-dev lzma ncftp qemu-user-static libstdc++-10-dev libncurses6 python3
- name: Install OpenJDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
java-version: '11'
- name: Setup SSH Keys
if: ${{ startsWith(github.event.inputs.MANIFEST_URL, 'git@github.com') ||
startsWith(github.event.inputs.DEVICE_TREE_URL, 'git@github.com') ||
startsWith(github.event.inputs.COMMON_TREE_URL, 'git@github.com') }}
uses: webfactory/ssh-agent@v0.5.4
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: |
${{ secrets.SSH_PRIVATE_KEY }}
- name: Install repo
run: |
mkdir ~/bin
@ -155,7 +155,7 @@ jobs:
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
- name: Upload to Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ github.event.inputs.BUILD_TARGET }}.img