From 9e60fb8d734fb29123d5423e561c01ca0b179f1a Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Tue, 10 May 2022 08:49:52 -0700 Subject: [PATCH] schedule the collector upload before the webapp upload (webapp seems to fail with OOM error during compilation) --- .github/workflows/release-freebsd.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-freebsd.yaml b/.github/workflows/release-freebsd.yaml index adca53f..baaf5fa 100644 --- a/.github/workflows/release-freebsd.yaml +++ b/.github/workflows/release-freebsd.yaml @@ -59,25 +59,25 @@ jobs: file "$GITHUB_WORKSPACE/dist/scrutiny-collector-metrics-${GOOS}-${GOARCH}" || true ldd "$GITHUB_WORKSPACE/dist/scrutiny-collector-metrics-${GOOS}-${GOARCH}" || true - - - name: Release Asset - Web - freebsd-amd64 - id: upload-release-asset1 + - name: Release Asset - Collector - freebsd-amd64 + id: upload-release-asset2 uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.SCRUTINY_GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: './dist/scrutiny-web-freebsd-amd64' - asset_name: scrutiny-web-freebsd-amd64 + asset_path: './dist/scrutiny-collector-metrics-freebsd-amd64' + asset_name: scrutiny-collector-metrics-freebsd-amd64 asset_content_type: application/octet-stream - - name: Release Asset - Collector - freebsd-amd64 - id: upload-release-asset2 + - name: Release Asset - Web - freebsd-amd64 + id: upload-release-asset1 uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.SCRUTINY_GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: './dist/scrutiny-collector-metrics-freebsd-amd64' - asset_name: scrutiny-collector-metrics-freebsd-amd64 + asset_path: './dist/scrutiny-web-freebsd-amd64' + asset_name: scrutiny-web-freebsd-amd64 asset_content_type: application/octet-stream +