Skip to content

Bump golang.org/x/net from 0.24.0 to 0.26.0 #43

Bump golang.org/x/net from 0.24.0 to 0.26.0

Bump golang.org/x/net from 0.24.0 to 0.26.0 #43

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.6
cache: true
- name: Build bundle
run: |
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -v -ldflags="-w -s" -o ./dist/windows-amd64/reverse-proxy-server.exe ./main.go
cd ./dist/windows-amd64/
tar zcvf ../../dist/reverse-proxy-server-windows-amd64.tgz ./*
cd ../../
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -v -ldflags="-w -s" -o ./dist/windows-amd64/doh3_debugger.exe ./doh3_debugger/doh3_debugger.go
cd ./dist/windows-amd64/
tar zcvf ../../dist/doh3_debugger-windows-amd64.tgz ./doh3_debugger.exe
cd ../../
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -v -ldflags="-w -s" -o ./dist/windows-amd64/doh_debugger.exe ./doh_debugger/doh_debugger.go
cd ./dist/windows-amd64/
tar zcvf ../../dist/doh_debugger-windows-amd64.tgz ./doh_debugger.exe
cd ../../
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/heads/master')
with:
tag_name: Continuous-integration-${{ github.sha }}
#token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
files: |
dist/*.tgz