release flow 2
This commit is contained in:
parent
29e875d2e5
commit
686cd72ec2
|
@ -17,25 +17,28 @@ jobs:
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: '1.22'
|
go-version: '1.22'
|
||||||
- uses: actions/setup-python@v5
|
# - uses: actions/setup-python@v5
|
||||||
with:
|
# with:
|
||||||
python-version: '3.11'
|
# python-version: '3.11'
|
||||||
|
|
||||||
- name: Build
|
# - name: Build
|
||||||
run: go build -v ./...
|
# run: go build -v ./...
|
||||||
|
|
||||||
- name: Test
|
# - name: Test
|
||||||
run: go test -v ./...
|
# 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: |
|
run: |
|
||||||
cd e2e_tests
|
go build -o owl-linux-amd64 ./cmd/owl
|
||||||
docker compose -f docker-compose.ci.yml up -d
|
gh release upload ${{github.event.release.tag_name}} owl-linux-amd64
|
||||||
pip install -r requirements.txt
|
|
||||||
pytest
|
|
||||||
|
|
||||||
- uses: wangyoucao577/go-release-action@v1
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
goos: linux
|
|
||||||
goarch: amd64
|
|
||||||
|
|
Loading…
Reference in New Issue