37
37
sudo ln -s /usr/bin/riscv64-linux-gnu-gcc-12 /usr/bin/riscv64-linux-gnu-gcc
38
38
sudo ln -s /usr/bin/riscv64-linux-gnu-gcc-ar-12 /usr/bin/riscv64-linux-gnu-gcc-ar
39
39
40
- - name : Fix the BROKEN cmocka.git EDK2 dependency
41
- run : git config --global url."https://github.com/tianocore/edk2-cmocka.git".insteadOf "https://git.cryptomilk.org/projects/cmocka.git"
42
-
43
40
- name : Checkout repository and submodules
44
41
uses : actions/checkout@v4
45
42
with :
80
77
mv ./shellaarch64.efi ./shellaa64.efi
81
78
fi
82
79
80
+ - name : Download the latest Mosby release
81
+ uses : robinraju/release-downloader@v1
82
+ with :
83
+ repository : pbatard/Mosby
84
+ latest : true
85
+ fileName : Mosby*.zip
86
+
87
+ - name : Extract the Mosby content
88
+ run : |
89
+ for BUILD_TYPE in ${{ env.BUILD_TYPES }}; do
90
+ mkdir $BUILD_TYPE
91
+ 7z x Mosby*.zip -o$BUILD_TYPE
92
+ mv $BUILD_TYPE/README.md $BUILD_TYPE/Mosby.txt
93
+ sed -i '1,5d' $BUILD_TYPE/Mosby.txt
94
+ done
95
+
83
96
- name : Create ISO filesystem structure
84
97
run : |
85
98
for BUILD_TYPE in ${{ env.BUILD_TYPES }}; do
@@ -100,6 +113,9 @@ jobs:
100
113
for ARCH in ${{ env.ARCHS }}; do
101
114
printf "* %s\n" $ARCH >> $BUILD_TYPE/README.txt
102
115
done
116
+ printf "\nReleases of UEFI Shell now also include Mosby (https://github.com/pbatard/Mosby)\n" >> $BUILD_TYPE/README.txt
117
+ printf "to help you update your Secure Boot variables as well as generate and install\n" >> $BUILD_TYPE/README.txt
118
+ printf "your own Secure Boot signing key. Just type 'Mosby' to run it.\n" >> $BUILD_TYPE/README.txt
103
119
printf "\nFor more information on how this release was produced, you are invited to\n" >> $BUILD_TYPE/README.txt
104
120
printf "visit our official project page at https://github.com/pbatard/UEFI-Shell,\n" >> $BUILD_TYPE/README.txt
105
121
printf "where you can also validate that all of the binaries contained in this image\n" >> $BUILD_TYPE/README.txt
@@ -145,9 +161,14 @@ jobs:
145
161
for ARCH in ${{ env.ARCHS }}; do
146
162
printf "* \`%s\`\n" $ARCH >> body.txt
147
163
done
164
+ printf "\nsha256sums:\n" >> body.txt
165
+ printf "\`\`\`\n" >> body.txt
166
+ sha256sum ./*.efi >> body.txt
167
+ sha256sum ./*.iso >> body.txt
168
+ printf "\`\`\`\n" >> body.txt
148
169
149
170
- name : Create release
150
- uses : softprops/action-gh-release@v1
171
+ uses : softprops/action-gh-release@v2
151
172
with :
152
173
token : ${{ secrets.GITHUB_TOKEN }}
153
174
body_path : ./body.txt
0 commit comments