Skip to content

Commit a8c1df2

Browse files
committed
Update dependencies
This is required after Node 20 changes Signed-off-by: Saad <[email protected]>
1 parent 7e063ce commit a8c1df2

File tree

2 files changed

+25
-22
lines changed

2 files changed

+25
-22
lines changed

.github/workflows/Recovery Build (Legacy).yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -77,25 +78,27 @@ jobs:
7778
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
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
86-
if: ${{ startsWith(github.event.inputs.MANIFEST_URL, '[email protected]') }}
87-
uses: webfactory/[email protected]
87+
if: ${{ startsWith(github.event.inputs.MANIFEST_URL, '[email protected]') ||
88+
startsWith(github.event.inputs.DEVICE_TREE_URL, '[email protected]') ||
89+
startsWith(github.event.inputs.COMMON_TREE_URL, '[email protected]') }}
90+
uses: webfactory/[email protected]
8891
with:
8992
ssh-private-key: |
90-
${{ secrets.SSH_PRIVATE_KEY }}
93+
${{ secrets.SSH_PRIVATE_KEY }}
9194
9295
- name: Install repo
9396
run: |
9497
mkdir ~/bin
9598
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
9699
chmod a+x ~/bin/repo
97100
sudo ln -sf ~/bin/repo /usr/bin/repo
98-
101+
99102
- name: Initialize repo
100103
run: |
101104
mkdir workspace
@@ -105,12 +108,12 @@ jobs:
105108
git config --global user.email "[email protected]"
106109
repo init --depth=1 -u ${{ github.event.inputs.MANIFEST_URL }} -b ${{ github.event.inputs.MANIFEST_BRANCH }}
107110
id: pwd
108-
111+
109112
- name: Repo Sync
110113
run: |
111114
repo sync -j$(nproc --all) --force-sync
112115
working-directory: workspace
113-
116+
114117
- name: Clone device tree
115118
run: |
116119
git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
@@ -152,7 +155,7 @@ jobs:
152155
working-directory: ${{ steps.pwd.outputs.workspace-folder }}
153156

154157
- name: Upload to Release
155-
uses: softprops/action-gh-release@v1
158+
uses: softprops/action-gh-release@v2
156159
with:
157160
files: |
158161
workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/${{ github.event.inputs.BUILD_TARGET }}.img

.github/workflows/Recovery Build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)