Update release.yaml
This commit is contained in:
parent
2bf12def99
commit
d8324941ae
11
.github/workflows/release.yaml
vendored
11
.github/workflows/release.yaml
vendored
@ -38,6 +38,7 @@ jobs:
|
|||||||
runs-on: ${{ github.event.inputs.type }}
|
runs-on: ${{ github.event.inputs.type }}
|
||||||
env:
|
env:
|
||||||
OUTPUTFILE: /storage/images/${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}/apks/ChromePublic.apk
|
OUTPUTFILE: /storage/images/${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}/apks/ChromePublic.apk
|
||||||
|
APK: ${{ github.event.inputs.build }}_ChromePublic.apk
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Enable proxy on container
|
- name: Enable proxy on container
|
||||||
@ -50,8 +51,16 @@ jobs:
|
|||||||
sudo iptables -D INPUT -p tcp --dport 8118 -j DROP
|
sudo iptables -D INPUT -p tcp --dport 8118 -j DROP
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: Copy artifacts
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
sudo cp ${{ env.OUTPUTFILE }} ChromePublic.apk
|
||||||
|
sudo chown runner ChromePublic.apk
|
||||||
|
rm ChromePublic.apk $APK
|
||||||
|
|
||||||
- name: Release build ${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}
|
- name: Release build ${{ github.event.inputs.build }}/${{ github.event.inputs.sha }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
files: ${{ env.OUTPUTFILE }}
|
body: Apk for ${{ env.APK }} sha ${{ github.event.inputs.sha }}
|
||||||
|
files: ${{ env.APK }}
|
||||||
|
Loading…
Reference in New Issue
Block a user