|
|
@@ -94,7 +94,7 @@ jobs:
|
|
|
needs: create_release
|
|
|
runs-on: macos-latest
|
|
|
steps:
|
|
|
- - name: Setup Xcode (with latest Apple SDK)
|
|
|
+ - name: Setup XCode
|
|
|
uses: maxim-lobanov/[email protected]
|
|
|
with:
|
|
|
xcode-version: 11.6
|
|
|
@@ -102,7 +102,32 @@ jobs:
|
|
|
- name: Grab the latest copy of the repository.
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
- # Stubbed!
|
|
|
+ - name: Run automated build script.
|
|
|
+ run: |
|
|
|
+ cd ${{ runner.workspace }}/ENet-CSharp && bash AutoBuild/githubAutoBuild.command
|
|
|
+
|
|
|
+ - name: Upload release library
|
|
|
+ id: upload-release-asset
|
|
|
+ uses: actions/upload-release-asset@v1
|
|
|
+ env:
|
|
|
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ with:
|
|
|
+ upload_url: ${{ needs.create_release.outputs.create_release_url }}
|
|
|
+ asset_path: ${{ runner.workspace }}/ENet-CSharp/ReleaseOut/Release.zip
|
|
|
+ asset_name: libenet-release-MacOS.zip
|
|
|
+ asset_content_type: application/zip
|
|
|
+
|
|
|
+ - name: Upload debug library
|
|
|
+ id: upload-debug-asset
|
|
|
+ uses: actions/upload-release-asset@v1
|
|
|
+ env:
|
|
|
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ with:
|
|
|
+ upload_url: ${{ needs.create_release.outputs.create_release_url }}
|
|
|
+ asset_path: ${{ runner.workspace }}/ENet-CSharp/DebugOut/Debug.zip
|
|
|
+ asset_name: libenet-debug-MacOS.zip
|
|
|
+ asset_content_type: application/zip
|
|
|
+
|
|
|
# END APPLE MACOS BUILD JOB
|
|
|
|
|
|
build_windows_64:
|
|
|
@@ -135,7 +160,7 @@ jobs:
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
with:
|
|
|
upload_url: ${{ needs.create_release.outputs.create_release_url }}
|
|
|
- asset_path: ${{ runner.workspace }}\DebugOut\Debug.zip
|
|
|
+ asset_path: ${{ runner.workspace }}/DebugOut/Debug.zip
|
|
|
asset_name: libenet-debug-win64.zip
|
|
|
asset_content_type: application/zip
|
|
|
|
|
|
@@ -146,7 +171,7 @@ jobs:
|
|
|
runs-on: macos-latest
|
|
|
steps:
|
|
|
|
|
|
- - name: Setup Xcode (with latest Apple SDK)
|
|
|
+ - name: Setup XCode
|
|
|
uses: maxim-lobanov/[email protected]
|
|
|
with:
|
|
|
xcode-version: 11.6
|