File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,25 @@ name: Update WebUI Binaries
22
33on :
44 push :
5- tags :
6- - ' update-webui'
5+ branches :
6+ - main
7+
8+ env :
9+ WRAPPER_WEBUI_BIN_PATH : PyPI/Package/src/webui
710
811jobs :
912 update-webui-binaries :
1013 runs-on : ubuntu-latest
14+
1115 steps :
1216 - name : Checkout the repo
1317 uses : actions/checkout@v2
1418
19+ - name : Install Tools
20+ continue-on-error : true
21+ run : |
22+ sudo apt-get install -y wget unzip tar git findutils
23+
1524 - name : Download WebUI Archives
1625 run : |
1726 mkdir -p TempArchives
7584
7685 - name : Copy Libs to Wrapper
7786 run : |
78- cp -ru TempOut/* PyPI/Package/src/webui/
87+ cp -ru TempOut/* "$WRAPPER_WEBUI_BIN_PATH/"
7988
8089 - name : Remove Temporary Archives
8190 run : |
8695 run : |
8796 git config user.name github-actions
8897 git config user.email github-actions@github.com
89- git add PyPI/Package/src/webui/
90- git commit -m "Update WebUI binaries" || echo "No changes to commit"
98+ git add "$WRAPPER_WEBUI_BIN_PATH/"
99+ git commit -m "Update WebUI binaries" || echo "No WebUI binaries changes to commit"
91100 git push
92-
93- - name : Delete Tag
94- run : |
95- git tag -d update-webui
96- git push --delete origin update-webui
You can’t perform that action at this time.
0 commit comments