fix client-side flags override issue #30
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |