From 98efa909e2504fc2a9073877d76a771c67d1c3a8 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Wed, 17 Nov 2021 07:57:07 -0800 Subject: [PATCH] Add releases. --- .github/workflows/build.yml | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b83365..339867a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,23 @@ jobs: with: name: FBX2glTF-windows.exe path: build/Release/FBX2glTF.exe + + - name: Archive Release + uses: thedoctor0/zip-release@master + with: + type: 'zip' + filename: fbx2gltf-windows + directory: build + path: . + + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: latest-windows + prerelease: true + title: FBX2glTF packages + files: | + build/fbx2gltf-windows.zip build-ubuntu: runs-on: ubuntu-latest steps: @@ -145,6 +162,24 @@ jobs: with: name: FBX2glTF-linux path: build/FBX2glTF + + - name: Archive Release + uses: thedoctor0/zip-release@master + with: + type: 'zip' + filename: fbx2gltf-linux + directory: build + path: . + + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: latest-linux + prerelease: true + title: FBX2glTF packages + files: | + build/fbx2gltf-linux.zip + build-macos: runs-on: macos-latest steps: @@ -220,3 +255,20 @@ jobs: with: name: FBX2glTF-macos path: build/FBX2glTF + + - name: Archive Release + uses: thedoctor0/zip-release@master + with: + type: 'zip' + filename: fbx2gltf-macos + directory: build + path: . + + - uses: "marvinpinto/action-automatic-releases@latest" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: latest-macos + prerelease: true + title: FBX2glTF packages + files: | + build/fbx2gltf-macos.zip \ No newline at end of file