|
|
@@ -61,19 +61,22 @@ jobs:
|
|
|
ls -alh
|
|
|
- name: Zip
|
|
|
run: |
|
|
|
- ls ./server
|
|
|
- zip ${{ env.ZIPNAME }}.zip ./server/${{ env.FILENAME }} ./server/${{ env.TGFILENAME }} ./server/${{ env.WEBFILENAME }} ./server/${{ env.WCFILENAME }}
|
|
|
+ cd ./server
|
|
|
+ mkdir plugins
|
|
|
+ mv ${{ env.TGFILENAME }} plugins/
|
|
|
+ mv ${{ env.WEBFILENAME }} plugins/
|
|
|
+ mv ${{ env.WCFILENAME }} plugins/
|
|
|
+ zip -r ${{ env.ZIPNAME }}.zip ${{ env.FILENAME }} plugins
|
|
|
ls
|
|
|
- ls ./server
|
|
|
- name: Upload files to Artifacts
|
|
|
uses: actions/upload-artifact@v3
|
|
|
with:
|
|
|
name: ${{ env.ZIPNAME }}
|
|
|
- path: ${{ env.ZIPNAME }}.zip
|
|
|
+ path: server/${{ env.ZIPNAME }}.zip
|
|
|
- name: Upload binaries to release
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- file: ${{ env.ZIPNAME }}.zip
|
|
|
+ file: server/${{ env.ZIPNAME }}.zip
|
|
|
tag: ${{ github.ref }}
|
|
|
file_glob: true
|