|
62 | 62 | - name: Checkout repository |
63 | 63 | uses: actions/checkout@v2 |
64 | 64 |
|
| 65 | + - name: Install packages (Ubuntu) |
| 66 | + if: matrix.os == 'ubuntu-18.04' |
| 67 | + run: | |
| 68 | + ci/ubuntu-install-packages |
| 69 | +
|
| 70 | + - name: Install packages (macOS) |
| 71 | + if: matrix.os == 'macos-latest' |
| 72 | + run: | |
| 73 | + ci/macos-install-packages |
| 74 | +
|
65 | 75 | - name: Install Rust |
66 | 76 | uses: actions-rs/toolchain@v1 |
67 | 77 | with: |
@@ -109,3 +119,42 @@ jobs: |
109 | 119 | asset_path: "pyroscope_cli/target/${{ matrix.target }}/release/pyroscope-cli" |
110 | 120 | asset_name: "pyroscope-cli" |
111 | 121 | asset_content_type: application/octet-stream |
| 122 | + pprofrs-release: |
| 123 | + name: pyroscope-main |
| 124 | + runs-on: ubuntu-latest |
| 125 | + if: "startsWith(github.ref, 'refs/tags/pprofrs-')" |
| 126 | + continue-on-error: true |
| 127 | + steps: |
| 128 | + - uses: "marvinpinto/[email protected]" |
| 129 | + with: |
| 130 | + repo_token: "${{ secrets.GITHUB_TOKEN }}" |
| 131 | + automatic_release_tag: "${{ github.ref_name }}" |
| 132 | + title: "Backend: ${{ github.ref_name }}" |
| 133 | + draft: true |
| 134 | + prerelease: false |
| 135 | + rbspy-release: |
| 136 | + name: pyroscope-main |
| 137 | + runs-on: ubuntu-latest |
| 138 | + if: "startsWith(github.ref, 'refs/tags/rbspy-')" |
| 139 | + continue-on-error: true |
| 140 | + steps: |
| 141 | + - uses: "marvinpinto/[email protected]" |
| 142 | + with: |
| 143 | + repo_token: "${{ secrets.GITHUB_TOKEN }}" |
| 144 | + automatic_release_tag: "${{ github.ref_name }}" |
| 145 | + title: "Backend: ${{ github.ref_name }}" |
| 146 | + draft: true |
| 147 | + prerelease: false |
| 148 | + pyspy-release: |
| 149 | + name: pyroscope-main |
| 150 | + runs-on: ubuntu-latest |
| 151 | + if: "startsWith(github.ref, 'refs/tags/pyspy-')" |
| 152 | + continue-on-error: true |
| 153 | + steps: |
| 154 | + - uses: "marvinpinto/[email protected]" |
| 155 | + with: |
| 156 | + repo_token: "${{ secrets.GITHUB_TOKEN }}" |
| 157 | + automatic_release_tag: "${{ github.ref_name }}" |
| 158 | + title: "Backend: ${{ github.ref_name }}" |
| 159 | + draft: true |
| 160 | + prerelease: false |
0 commit comments