Skip to content

Commit c99d943

Browse files
committed
WIP 11
1 parent 91f24f6 commit c99d943

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build-manual.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Manual build release
22

33
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+*'
47
workflow_dispatch:
58
inputs:
69
awl_ref:
@@ -30,13 +33,13 @@ jobs:
3033
uses: actions/checkout@v6
3134
with:
3235
fetch-depth: 0 # also fetch tags for 'git describe'
33-
ref: ${{ github.event.inputs.awl_ref }}
36+
ref: ${{ github.event.inputs.awl_ref || github.ref }}
3437
path: 'awl'
3538
- name: Checkout awl-flutter code
3639
uses: actions/checkout@v6
3740
with:
3841
repository: 'anywherelan/awl-flutter'
39-
ref: ${{ github.event.inputs.awl_flutter_ref }}
42+
ref: ${{ github.event.inputs.awl_flutter_ref || github.ref }}
4043
path: 'awl-flutter'
4144

4245
- name: Install Go
@@ -110,7 +113,7 @@ jobs:
110113
run: |
111114
export ANDROID_NDK_HOME=$ANDROID_HOME/ndk/27.3.13750724
112115
unset ANDROID_NDK_ROOT
113-
export SOURCE_DATE_EPOCH=$(git -C ../awl-flutter log -1 --format=%ct)
116+
export SOURCE_DATE_EPOCH=$(git -C awl-flutter log -1 --format=%ct)
114117
echo "=== Build step env ==="
115118
echo "ANDROID_NDK_HOME=$ANDROID_NDK_HOME (gomobile uses this)"
116119
echo "ANDROID_NDK_ROOT=$ANDROID_NDK_ROOT (unset for gomobile)"

0 commit comments

Comments
 (0)