File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 build_documentation :
7171 runs-on : ubuntu-latest
7272 needs : build_test_and_package
73- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
73+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' && false
7474
7575 steps :
7676 - uses : actions/checkout@v4
9191 name : fsm-api-documentation
9292 path : _site
9393
94- deploy_to_unity_repo :
95- needs : build_test_and_package
96- runs-on : ubuntu-latest
97- if : github.event_name == 'push' && github.ref == 'refs/heads/master'
98-
99-
100- steps :
101- - name : Download DLL Artifact
102- uses : actions/download-artifact@v4
103- with :
104- name : fsm-api-dlls
105- path : ./downloaded-dlls
106-
107- - name : Checkout Unity repo
108- uses : actions/checkout@v4
109- with :
110- repository : ' TrentBest/FSM_API_Unity'
111- token : ${{ secrets.UNITY_REPO_PAT }}
112- path : FSM_API_Unity_repo
113-
114- - name : Copy DLL to Unity repo directory
115- run : |
116- mkdir -p FSM_API_Unity_repo/Runtime/
117- cp downloaded-dlls/FSM_API_netstandard2.1.dll FSM_API_Unity_repo/Runtime/FSM_API.dll
118-
119- - name : Commit and Push to Unity repo
120- run : |
121- cd FSM_API_Unity_repo
122- git config user.name "GitHub Actions"
123- git config user.email "actions@github.com"
124- git add Runtime/FSM_API.dll
125- git commit -m "Auto-update FSM_API.dll from CI" || echo "No changes to commit"
126- git push
127-
12894 publish_nuget :
12995 needs : build_test_and_package
13096 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments