mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # go.mod # go.sum
This commit is contained in:
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -99,7 +99,7 @@ jobs:
|
||||
CGO_ENABLED: 0
|
||||
steps:
|
||||
- name: Checkout codebase
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
- name: Show workflow information
|
||||
id: get_filename
|
||||
run: |
|
||||
@@ -107,11 +107,10 @@ jobs:
|
||||
echo "GOOS: $GOOS, GOARCH: $GOARCH, GOARM: $GOARM, GOMIPS: $GOMIPS, RELEASE_NAME: $_NAME"
|
||||
echo "::set-output name=ASSET_NAME::$_NAME"
|
||||
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: ^1.18
|
||||
go-version: 'stable'
|
||||
|
||||
- name: Get project dependencies
|
||||
run: go mod download
|
||||
@@ -176,12 +175,12 @@ jobs:
|
||||
- name: Change the name
|
||||
run: |
|
||||
mv build_assets V2bX-$ASSET_NAME
|
||||
# - name: Upload files to Artifacts
|
||||
# uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}
|
||||
# path: |
|
||||
# ./V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}/*
|
||||
- name: Upload files to Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}
|
||||
path: |
|
||||
./V2bX-${{ steps.get_filename.outputs.ASSET_NAME }}/*
|
||||
- name: Upload binaries to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
if: github.event_name == 'release'
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
func (l *Lego) SetProvider() error {
|
||||
switch l.config.CertMode {
|
||||
case "http":
|
||||
err := l.client.Challenge.SetHTTP01Provider(http01.NewProviderServer("", "5002"))
|
||||
err := l.client.Challenge.SetHTTP01Provider(http01.NewProviderServer("", "80"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user