Compare commits

..

No commits in common. "main" and "v1.0.4" have entirely different histories.
main ... v1.0.4

3 changed files with 29 additions and 6 deletions

15
.github/workflows/.goreleaser.yml vendored Normal file
View file

@ -0,0 +1,15 @@
project_name: goshod
builds:
- env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- arm
- 386
id: "import_disqus_cli"
dir: .
main: .

View file

@ -1,8 +1,15 @@
name: goreleaser
on:
pull_request:
push:
# run only against tags
tags:
- '*'
permissions:
contents: write
# packages: write
# issues: write
jobs:
goreleaser:
@ -13,9 +20,14 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
@ -23,7 +35,7 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --rm-dist
args: release -f .goreleaser.yml --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution

View file

@ -123,8 +123,6 @@ const app = new Vue({
},
nextPage(){
if(this.curPage<this.maxPage){
this.showLoading = true;
this.host_result={matches:[]}
this.curPage++;
var params = new URLSearchParams();
params.append("search",this.search);
@ -155,8 +153,6 @@ const app = new Vue({
},
prevPage(){
if(this.curPage>this.minPage){
this.showLoading = true;
this.host_result={matches:[]}
this.curPage--;
var params = new URLSearchParams();
params.append("search",this.search);