From 15be9ee876820176cb4314d5fb7fea65fc887913 Mon Sep 17 00:00:00 2001 From: Ronan Date: Mon, 6 May 2024 08:33:13 +0200 Subject: [PATCH] wip ci --- .github/workflows/build.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index feb62eb..2862ad2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -91,22 +91,22 @@ jobs: EOF - # - name: Upload artifact - # uses: actions/upload-artifact@v2 - # with: - # name: ${{ matrix.target }} - # path: target/${{ matrix.target }}/release/ + - name: Upload artifact + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.target }} + path: target/${{ matrix.target }}/release/ - name: Publish CI binary (${{ matrix.target }}) continue-on-error: true run: | - zip -r /tmp/linux-ubuntu-22.04_ci_${{ matrix.target }}.zip target/${{ matrix.target }}/release/scgdesk-api-server - - name: Upload Release Assets binaries for Ubuntu 22.04 amd64 + zip -r /tmp/${{ matrix.os }}_ci_${{ matrix.target }}.zip target/${{ matrix.target }}/release/sctgdesk-api-server + - name: Upload Release Assets binaries for ${{ matrix.os }} ${{ matrix.target }} uses: softprops/action-gh-release@v2 continue-on-error: true with: files: | - /tmp/linux-ubuntu-22.04_ci_${{ matrix.target }}.zip + /tmp/${{ matrix.os }}_ci_${{ matrix.target }}.zip docs/openapi3.json env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}