diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 48cb3046..1436ca71 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,8 +1,6 @@ name: "Code Scan" on: - push: - branches: [ master ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6d74243a..f58ab0e6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -34,6 +34,12 @@ jobs: apk --update add ca-certificates tzdata make git bash make release + - uses: actions/upload-artifact@v3 + with: + name: pumba-binaries + path: .bin/* + + create-release: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') name: release @@ -51,6 +57,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/download-artifact@v3 + id: download + with: + name: 'pumba-binaries' + path: .bin/ + - name: release uses: softprops/action-gh-release@v1 with: