diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28d7947..45aead1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,25 +17,28 @@ jobs: uses: actions/setup-go@v4 with: go-version: '1.22' - - uses: actions/setup-python@v5 - with: - python-version: '3.11' + # - uses: actions/setup-python@v5 + # with: + # python-version: '3.11' - - name: Build - run: go build -v ./... + # - name: Build + # run: go build -v ./... - - name: Test - run: go test -v ./... + # - name: Test + # run: go test -v ./... - - name: E2E Test + # - name: E2E Test + # run: | + # cd e2e_tests + # docker compose -f docker-compose.ci.yml up -d + # pip install -r requirements.txt + # pytest + + - name: Build Release + env: + CGO_ENABLED: 1 + GOOS: linux + GOARCH: amd64 run: | - cd e2e_tests - docker compose -f docker-compose.ci.yml up -d - pip install -r requirements.txt - pytest - - - uses: wangyoucao577/go-release-action@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - goos: linux - goarch: amd64 \ No newline at end of file + go build -o owl-linux-amd64 ./cmd/owl + gh release upload ${{github.event.release.tag_name}} owl-linux-amd64