Skip to content

Update module github.com/pion/webrtc/v3 to v3.2.40 #291

Update module github.com/pion/webrtc/v3 to v3.2.40

Update module github.com/pion/webrtc/v3 to v3.2.40 #291

Workflow file for this run

name: Build
on:
push:
env:
GOPRIVATE: "github.com"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: imjasonh/setup-ko@v0.6
- uses: actions/setup-go@v4
with:
go-version: 1.19
cache: true
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: git config --global url."https://YOUR_GITHUB_USERNAME:${TOKEN}@github.com".insteadOf "https://github.com"
- run: go test ./...
- run: go build ./...
- run: |-
mkdir -p cmd/vanderbot/kodata/
cp cmd/vanderbot/config/* cmd/vanderbot/kodata/
ko build github.com/ajvpot/vanderbot/cmd/vanderbot
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)