mirror of https://github.com/statping/statping
removed source.tar.gz file from repo, re-adding go:generate functions from #859 fixed GH actions
parent
a6504c2c42
commit
6db5aea79f
|
@ -28,8 +28,8 @@ jobs:
|
||||||
|
|
||||||
- name: Add GOBIN to PATH
|
- name: Add GOBIN to PATH
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::$(go env GOPATH)/bin"
|
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
echo ::set-env name=VERSION::$(cat version.txt)
|
echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Install Global Dependencies
|
- name: Install Global Dependencies
|
||||||
|
@ -96,9 +96,9 @@ jobs:
|
||||||
|
|
||||||
- name: Setting ENV's
|
- name: Setting ENV's
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::$(go env GOPATH)/bin"
|
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
echo "::add-path::/opt/hostedtoolcache/node/12.18.2/x64/bin"
|
echo "/opt/hostedtoolcache/node/12.18.2/x64/bin" >> $GITHUB_PATH
|
||||||
echo ::set-env name=VERSION::$(cat version.txt)
|
echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Download Compiled Frontend (rice-box.go)
|
- name: Download Compiled Frontend (rice-box.go)
|
||||||
|
@ -135,13 +135,13 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.14.2'
|
go-version: 1.15.x
|
||||||
|
|
||||||
- name: Setting ENV's
|
- name: Setting ENV's
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::$(go env GOPATH)/bin"
|
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
echo "::add-path::/opt/hostedtoolcache/node/12.18.2/x64/bin"
|
echo "/opt/hostedtoolcache/node/12.18.2/x64/bin" >> $GITHUB_PATH
|
||||||
echo ::set-env name=VERSION::$(cat version.txt)
|
echo "VERSION=$(cat version.txt)" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Download Compiled Frontend (rice-box.go)
|
- name: Download Compiled Frontend (rice-box.go)
|
||||||
|
|
|
@ -32,14 +32,6 @@ const i18n = new VueI18n({
|
||||||
|
|
||||||
Vue.$cookies.config('3d')
|
Vue.$cookies.config('3d')
|
||||||
|
|
||||||
Sentry.init({
|
|
||||||
Vue: Vue,
|
|
||||||
dsn: errorReporter,
|
|
||||||
integrations: [new TracingIntegrations.BrowserTracing()],
|
|
||||||
tracesSampleRate: 0.2,
|
|
||||||
environment: process.env.NODE_ENV === 'production' ? 'production' : 'development',
|
|
||||||
});
|
|
||||||
|
|
||||||
Vue.config.productionTip = process.env.NODE_ENV !== 'production'
|
Vue.config.productionTip = process.env.NODE_ENV !== 'production'
|
||||||
Vue.config.devtools = process.env.NODE_ENV !== 'production'
|
Vue.config.devtools = process.env.NODE_ENV !== 'production'
|
||||||
Vue.config.performance = process.env.NODE_ENV !== 'production'
|
Vue.config.performance = process.env.NODE_ENV !== 'production'
|
||||||
|
|
BIN
source.tar.gz
BIN
source.tar.gz
Binary file not shown.
|
@ -1,5 +1,9 @@
|
||||||
package source
|
package source
|
||||||
|
|
||||||
|
//go:generate go run generate_help.go
|
||||||
|
//go:generate go run generate_version.go
|
||||||
|
//go:generate go run generate_languages.go
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/GeertJohan/go.rice"
|
"github.com/GeertJohan/go.rice"
|
||||||
|
|
Loading…
Reference in New Issue