forked from mobile-shell/mosh
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 971 Bytes
/
android-release.yml
File metadata and controls
38 lines (30 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Android release assets
on:
workflow_dispatch:
push:
tags:
- "android-*"
permissions:
contents: write
jobs:
android-release-assets:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake cmake curl git libtool make ninja-build pkg-config rsync unzip zip
- name: Build Android mosh binaries
run: android/build-android-release-assets.sh
- name: Upload workflow artifacts
uses: actions/upload-artifact@v4
with:
name: mosh-android-release-assets
path: build/android-release/mosh-android-*.zip
- name: Upload GitHub release assets
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: build/android-release/mosh-android-*.zip