@@ -61,10 +61,11 @@ jobs:
6161 echo "Makefile Name: ${{ github.event.inputs.MAKEFILE_NAME }}"
6262 echo "Build Target: ${{ github.event.inputs.BUILD_TARGET }}.img"
6363 echo "::endgroup::"
64-
64+
6565 # You might want to Checkout your repo first, but not mandatory
6666 - name : Check Out
67- uses : actions/checkout@v3
67+ uses : actions/checkout@v4
68+
6869 # Cleanup The Actions Workspace Using Custom Composite Run Actions
6970 - name : Cleanup
7071 uses : rokibhasansagar/slimhub_actions@main
@@ -74,31 +75,30 @@ jobs:
7475 run : |
7576 sudo apt update
7677 sudo apt -y upgrade
77- 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
78+ 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
7879
7980 - name : Install OpenJDK
80- uses : actions/setup-java@v3
81+ uses : actions/setup-java@v4
8182 with :
8283 distribution : ' zulu'
83- java-version : ' 8 '
84+ java-version : ' 11 '
8485
8586 - name : Setup SSH Keys
8687 if :
${{ startsWith(github.event.inputs.MANIFEST_URL, '[email protected] ') || 8788 startsWith(github.event.inputs.DEVICE_TREE_URL, '[email protected] ') || 8889 startsWith(github.event.inputs.COMMON_TREE_URL, '[email protected] ') }} 89- uses : webfactory/ssh-agent@v0.5.4
90+ uses : webfactory/ssh-agent@v0.9.0
9091 with :
9192 ssh-private-key : |
9293 ${{ secrets.SSH_PRIVATE_KEY }}
9394
94-
9595 - name : Install repo
9696 run : |
9797 mkdir ~/bin
9898 curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
9999 chmod a+x ~/bin/repo
100100 sudo ln -sf ~/bin/repo /usr/bin/repo
101-
101+
102102 - name : Initialize repo
103103 run : |
104104 mkdir workspace
@@ -108,12 +108,12 @@ jobs:
108108 git config --global user.email "[email protected] " 109109 repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
110110 id : pwd
111-
111+
112112 - name : Repo Sync
113113 run : |
114114 repo sync -j$(nproc --all) --force-sync
115115 working-directory : workspace
116-
116+
117117 - name : Clone device tree
118118 run : |
119119 git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
@@ -155,7 +155,7 @@ jobs:
155155 working-directory : ${{ steps.pwd.outputs.workspace-folder }}
156156
157157 - name : Upload to Release
158- uses : softprops/action-gh-release@v1
158+ uses : softprops/action-gh-release@v2
159159 with :
160160 files : |
161161 workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ github.event.inputs.BUILD_TARGET }}.img
0 commit comments