Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 583a5bd

Browse files
authored
mmar-patcher: Set env VERSION for direct URLs
1 parent 7884b13 commit 583a5bd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/mmar-patcher.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
else
4040
echo "::set-env name=VERSION::`git ls-remote --tags https://github.com/topjohnwu/Magisk | grep manager- | awk -F / '{print $NF}' | tail -n 1 | awk -F '-' '{print $2}'`"
4141
fi
42+
43+
[[ ! -z "${{ github.event.inputs.url }}" ]] && echo "::set-env name=VERSION::url-provided"
4244
4345
- name: Bail If Existing
4446
id: bail_if_existing

0 commit comments

Comments
 (0)