-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added workflow for splitting of samples
- Loading branch information
1 parent
7983713
commit 0689467
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Samples | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
split-upm: | ||
name: update samples branch | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: update samples branch | ||
run: | | ||
echo '### head info' | ||
git log -1 | ||
echo '### split upm branch' | ||
git subtree split -P "$PKG_ROOT" -b samples | ||
echo '### update remote upm branch' | ||
git push origin samples | ||
env: | ||
PKG_ROOT: Assets/OkapiKitSamples |