Skip to content

Handle upstream connection error. Show 502 to user #34

Handle upstream connection error. Show 502 to user

Handle upstream connection error. Show 502 to user #34

Workflow file for this run

name: Github Release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# https://github.com/actions/setup-go
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- run: go test ./...
- run: go build -ldflags "-s -w" -o jauth
- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o jauth_arm64
- name: Run UPX
uses: crazy-max/ghaction-upx@v3
with:
version: latest
files: |
jauth
jauth_arm64
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
jauth
jauth_arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}