Update release.yaml
This commit is contained in:
parent
d440dfaf35
commit
ec5f36abea
14
.github/workflows/release.yaml
vendored
14
.github/workflows/release.yaml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
release:
|
||||
runs-on: ${{ github.event.inputs.type }}
|
||||
env:
|
||||
OUTPUTFILE: /storage/images/android/${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}
|
||||
OUTPUTFILE_ARM64: /storage/images/android/arm64/${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}
|
||||
APK: ${{ github.event.inputs.build }}_ChromePublic.apk
|
||||
|
||||
steps:
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
run: |
|
||||
GH=gh_2.18.1_linux_amd64/bin/gh
|
||||
WINOUT=/storage/images/win/x64/$BROMITE_SHA/
|
||||
VERSION=v$(cat ${{ env.OUTPUTFILE }}/RELEASE)-${{ github.event.inputs.build }}
|
||||
VERSION=v$(cat ${{ env.OUTPUTFILE_ARM64 }}/RELEASE)-${{ github.event.inputs.build }}
|
||||
|
||||
cd bromite
|
||||
|
||||
@ -72,19 +72,19 @@ jobs:
|
||||
$GH release create $VERSION-$BROMITE_SHA --notes-file note -d
|
||||
|
||||
# android
|
||||
sudo cp ${{ env.OUTPUTFILE }}/apks/ChromePublic.apk ChromePublic.apk
|
||||
sudo cp ${{ env.OUTPUTFILE_ARM64 }}/apks/ChromePublic.apk ChromePublic.apk
|
||||
sudo chown runner ChromePublic.apk
|
||||
mv ChromePublic.apk $APK
|
||||
echo Uploading $APK
|
||||
$GH release upload $VERSION-$BROMITE_SHA $APK
|
||||
|
||||
echo Uploading chrome.size
|
||||
test $VERSION-$BROMITE_SHA $OUTPUTFILE/chrome.size && \
|
||||
$GH release upload $VERSION-$BROMITE_SHA $OUTPUTFILE/chrome.size
|
||||
test $VERSION-$BROMITE_SHA $OUTPUTFILE_ARM64/chrome.size && \
|
||||
$GH release upload $VERSION-$BROMITE_SHA $OUTPUTFILE_ARM64/chrome.size
|
||||
|
||||
echo Uploading arm64_ninja_log_trace.html
|
||||
test $OUTPUTFILE/ninja_log_trace.html && \
|
||||
cp $OUTPUTFILE/ninja_log_trace.html arm64_ninja_log_trace.html && \
|
||||
test $OUTPUTFILE_ARM64/ninja_log_trace.html && \
|
||||
cp $OUTPUTFILE_ARM64/ninja_log_trace.html arm64_ninja_log_trace.html && \
|
||||
$GH release upload $VERSION-$BROMITE_SHA arm64_ninja_log_trace.html
|
||||
|
||||
# windows
|
||||
|
Loading…
x
Reference in New Issue
Block a user