From d7caa1d9a89a748a7f1bc53bfd1e061a176a88de Mon Sep 17 00:00:00 2001 From: LiamKeh Date: Thu, 22 Feb 2024 15:08:23 +0800 Subject: [PATCH] uptest --- .../cmake-multi-platform-and-release.yml | 27 +++++-------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/.github/workflows/cmake-multi-platform-and-release.yml b/.github/workflows/cmake-multi-platform-and-release.yml index b632d9ff..fb3a0b1e 100644 --- a/.github/workflows/cmake-multi-platform-and-release.yml +++ b/.github/workflows/cmake-multi-platform-and-release.yml @@ -22,32 +22,19 @@ jobs: - name: Configure run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: false - - name: Create zip - run: zip -r gpupixel_linux_amd64.zip ${{github.workspace}}/output + run: zip -r gpupixel_linux_x86_64.zip ${{github.workspace}}/output - - name: Upload library - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload Artifact + uses: actions/upload-artifact@v2 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./gpupixel_linux_amd64.zip - asset_name: gpupixel_linux_amd64.zip - asset_content_type: application/gzip + name: gpupixel_linux_x86_64.zip + path: ${{ github.workspace }}/gpupixel_linux_x86_64.zip + build-macos-clang: name: macOS (Universal)