[github] Update auto builder

This commit is contained in:
remittor
2024-10-14 19:56:45 +03:00
parent 8f84cf46a8
commit 80518c32dc

View File

@@ -144,7 +144,6 @@ jobs:
./scripts/feeds install -a
make defconfig
echo "------------- .config BEG -------------------"
cat .config
echo "------------- .config END -------------------"
@@ -153,9 +152,12 @@ jobs:
make $PKGLIST V=s CONFIG_CCACHE=1 BUILD_LOG=1
find ./bin/packages/*/base -type f ! -regex ".*\(zapret\).*\.ipk$" -delete
echo "$SIGN_KEY" | base64 -d > key-build
#echo ">>>>>>> build a repository index to make the output directory usable as local OPKG source"
#ln -s `which usign` staging_dir/host/bin/usign
#echo "$SIGN_KEY" | base64 -d > key-build
#make package/index
tar -C ./bin/packages/*/base -cvf $GITHUB_WORKSPACE/ipk-$BRANCH-$ARCH.tar --transform "s|^\./|${BRANCH/openwrt-}/$ARCH/|" --show-transformed-names .
./staging_dir/host/bin/ccache --max-size=10M --show-stats
@@ -214,9 +216,11 @@ jobs:
uses: andelf/nightly-release@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ matrix.branch }}
TAG: ${{ needs.check.outputs.tag }}
with:
prerelease: false
tag_name: ${{ matrix.branch }}
tag_name: ${{ needs.check.outputs.tag }}-${{ matrix.branch }}
name: '${{ needs.check.outputs.tag }} for OpenWrt ${{ matrix.branch }}'
body: |
${{ needs.check.outputs.url }}: ${{ needs.check.outputs.message }}