We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089f642 commit 56d8e27Copy full SHA for 56d8e27
.github/workflows/ReleaseNoUnityFiles.yml
@@ -0,0 +1,30 @@
1
+name: ReleaseNoUnityFiles
2
+
3
+env:
4
+ SRC: unity
5
+ DST: main
6
7
+on:
8
+ release:
9
+ branches:
10
+ - ${{ env.SRC }}
11
+ workflow_dispatch:
12
13
+jobs:
14
+ main:
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Git
19
+ run: |
20
+ git config user.name 'github-actions[bot]'
21
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
22
+ git fetch origin ${{ env.DST }}
23
+ git checkout ${{ env.DST }}
24
+ git pull -ff origin ${{ env.SRC }}:${{ env.DST }}
25
+ git add --all
26
+ git rm -f --ignore-unmatch \*.meta
27
+ git rm -f --ignore-unmatch \*.asmdef
28
+ git rm -f --ignore-unmatch \*.asmref
29
+ git commit -m "[bot] ReleaseNoUnityFiles"
30
+ git push origin
0 commit comments