From f0a8e32c82200608fc33ff6946c0219941535829 Mon Sep 17 00:00:00 2001 From: Maycon Santos Date: Wed, 8 May 2024 10:00:14 +0200 Subject: [PATCH] Enable release workflow on PR and upload binaries --- .github/workflows/release.yml | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c96febca..e117e8fab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,17 +7,7 @@ on: branches: - main pull_request: - paths: - - 'go.mod' - - 'go.sum' - - '.goreleaser.yml' - - '.goreleaser_ui.yaml' - - '.goreleaser_ui_darwin.yaml' - - '.github/workflows/release.yml' - - 'release_files/**' - - '**/Dockerfile' - - '**/Dockerfile.*' - - 'client/ui/**' + env: SIGN_PIPE_VER: "v0.0.11" @@ -106,6 +96,27 @@ jobs: name: release path: dist/ retention-days: 3 + - + name: upload linux packages + uses: actions/upload-artifact@v3 + with: + name: linux-packages + path: dist/netbird_linux** + retention-days: 3 + - + name: upload windows packages + uses: actions/upload-artifact@v3 + with: + name: windows-packages + path: dist/netbird_windows** + retention-days: 3 + - + name: upload macos packages + uses: actions/upload-artifact@v3 + with: + name: macos-packages + path: dist/netbird_darwin** + retention-days: 3 release_ui: runs-on: ubuntu-latest