Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
movsb committed Dec 10, 2022
1 parent 8253356 commit 6c04d11
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: '1.18'
- name: Cross building
run: '{ GOOS=linux GOARCH=amd64 go build -o .build/http2tcp-linux-amd64; } && { GOOS=darwin GOARCH=amd64 go build -o .build/http2tcp-darwin-amd64; }'
- name: Create Release
uses: ncipollo/release-action@v1.11.2
with:
name: main
allowUpdates: true
artifactErrorsFailBuild: true
artifacts: http2tcp-linux-amd64,http2tcp-darwin-amd64
commit: main
tag: release-main-latest

0 comments on commit 6c04d11

Please sign in to comment.