Skip to content

Revert: Copy manually folders #29

Revert: Copy manually folders

Revert: Copy manually folders #29

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
ls ./Demo~/Assets/Plugins/backtrace-unity
# 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: Demo~/
# 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: Demo~/
targetPlatform: WebGL
# Output
- uses: actions/upload-artifact@v3
with:
name: Build
path: build