Skip to content

Add timeout 504 handling single worker scan requests #29

Add timeout 504 handling single worker scan requests

Add timeout 504 handling single worker scan requests #29

Workflow file for this run

name: Release
# Build and attach supported artifacts a draft release tag
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }} # Checkout the specified tag
fetch-depth: 0 # Get tags to allow the build script to get a build version
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build
run: |
make build_amd
make build_arm
- name: Unit Test
run: make unit_test
- name: Package
run: |
make package_amd
make package_arm
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
target/scanoss-go-api-linux-amd64
target/scanoss-go-api-linux-arm64
scanoss-go_linux-amd64_${{ github.ref_name }}-1.tgz
scanoss-go_linux-arm64_${{ github.ref_name }}-1.tgz