mirror of
https://github.com/jayateertha043/goshod.git
synced 2026-07-22 04:21:02 +00:00
Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4285b83496 | ||
|
|
5a025b610a | ||
|
|
504a6b83ed | ||
|
|
a40eca7bc7 | ||
|
|
c783084fa4 | ||
|
|
bfa0ab68c4 | ||
|
|
dac8e5bf25 | ||
|
|
5eff4dc453 |
3 changed files with 6 additions and 29 deletions
15
.github/workflows/.goreleaser.yml
vendored
15
.github/workflows/.goreleaser.yml
vendored
|
|
@ -1,15 +0,0 @@
|
|||
project_name: goshod
|
||||
builds:
|
||||
- env: [CGO_ENABLED=0]
|
||||
goos:
|
||||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
- arm
|
||||
- 386
|
||||
id: "import_disqus_cli"
|
||||
dir: .
|
||||
main: .
|
||||
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
|
@ -1,15 +1,8 @@
|
|||
name: goreleaser
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
# run only against tags
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
# packages: write
|
||||
# issues: write
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
|
|
@ -20,14 +13,9 @@ 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
|
||||
|
|
@ -35,7 +23,7 @@ jobs:
|
|||
# either 'goreleaser' (default) or 'goreleaser-pro'
|
||||
distribution: goreleaser
|
||||
version: latest
|
||||
args: release -f .goreleaser.yml --rm-dist
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
|
||||
|
|
|
|||
|
|
@ -123,6 +123,8 @@ 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);
|
||||
|
|
@ -153,6 +155,8 @@ 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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue