From f61a9415026ec0b90591e58e3ab3f9a7062a1ac8 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Sun, 30 Jul 2023 16:22:25 +0530 Subject: [PATCH] CI: update workflows --- .github/workflows/go-pr.yml | 9 +++++++++ .github/workflows/go.yml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go-pr.yml b/.github/workflows/go-pr.yml index da738a22..bab73785 100644 --- a/.github/workflows/go-pr.yml +++ b/.github/workflows/go-pr.yml @@ -31,6 +31,15 @@ jobs: - name: Test run: go test -v ./tests/.. + + - name: Compress + run: tar -czvf abrootv2.tar.gz abrootv2 + + - uses: actions/upload-artifact@v3 + with: + name: abrootv2 + path: abrootv2.tar.gz + sonar: name: Sonar runs-on: ubuntu-latest diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fa323982..4b4af1b6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,7 +2,7 @@ name: Go on: push: - branches: [ "v2" , "ghcr" ] + branches: [ "v2" ] jobs: