Skip to content

[Docs] Updated README with VibrationComponent usage #28

[Docs] Updated README with VibrationComponent usage

[Docs] Updated README with VibrationComponent usage #28

Workflow file for this run

name: Unity Package CI
on:
push:
branches:
- upm-package-embedded
repository_dispatch:
types: [on-demand-test]
env:
PKG_BRANCH: upm
PKG_NAME: com.benoitfreslon.vibration
PKG_ROOT: ./
jobs:
split-upm:
name: Create upm package branch (force)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set output git tag and commit message
id: vars
run: ./.github/scripts/functions.sh githubActionsVariables
- name: Check output git variables
env:
LAST_RELEASE_TAG: ${{ steps.vars.outputs.tag }}
COMMIT_MESSAGE: ${{ steps.vars.outputs.commit_message }}
run: |
echo $LAST_RELEASE_TAG
echo $COMMIT_MESSAGE
- name: Checkout orphan [${{ env.PKG_BRANCH }}] branch
run: |
git checkout --orphan "$PKG_BRANCH"
shopt -s extglob dotglob
rm -rf !(Packages|.github|.git|README.md|README.md.meta|LICENSE|LICENSE.meta|Images|.|..)
ls -la ./
- name: Move ./Packages content to root
run: ./.github/scripts/functions.sh movePackagesFolder
- name: Create Samples~ and Documentation~ folders
run: ./.github/scripts/functions.sh push
env:
LAST_RELEASE_TAG: ${{ steps.vars.outputs.tag }}
COMMIT_MESSAGE: ${{ steps.vars.outputs.commit_message }}