Skip to content

Commit

Permalink
Added workflow for splitting of samples
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoDeAndrade committed Jan 16, 2024
1 parent 7983713 commit 0689467
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/samples.yml
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

0 comments on commit 0689467

Please sign in to comment.