Skip to content

Do not copy symlinks recursive #37

Do not copy symlinks recursive

Do not copy symlinks recursive #37

Workflow file for this run

name: Actions 😎
on: [push, pull_request]
jobs:
build:
name: Build my project ✨
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
# Cache
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Demo~/Assets/**', 'Demo~/Packages/**', 'Demo~/ProjectSettings/**') }}
restore-keys: |
Library-
- name: copy dir to new dir
run: |
pwd
echo "demo structure"
find Demo~/
echo "symlink"
find . -type l -ls
cp -dr ./Demo~/ ./project
ls ./project
rm -rf ./project/Assets/Plugins/backtrace-unity/Demo~
find ./project
# Test
- name: Run tests
uses: game-ci/unity-test-runner@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ./project
# Build
- name: Build project
uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
projectPath: ./project
targetPlatform: WebGL
# Output
- uses: actions/upload-artifact@v3
with:
name: Build
path: build