From c2df9c54be5e62e57db93c394786223fcad3d665 Mon Sep 17 00:00:00 2001 From: Adis Durakovic Date: Sat, 16 Mar 2024 10:23:45 +0100 Subject: [PATCH] chore: workflow --- .github/workflows/build.yml | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ba106a..5a20f2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,12 +34,26 @@ jobs: with: build-name: ${{ matrix.build.name }} build-platform: ${{ matrix.build.platform }} - package: true + package: false go-version: '1.21' - # release: - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - uses: softprops/action-gh-release@v2 - # env: - # GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file + - uses: actions/upload-artifact@v3 + with: + name: Wails Build + path: | + */bin/ + *\bin\* + release: + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/download-artifact@master + with: + path: | + */bin/ + *\bin\* + - uses: softprops/action-gh-release@v2 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + with: + files: | + */bin/* \ No newline at end of file