Update build
publish / publish (push) Failing after 5s
Details
publish / publish (push) Failing after 5s
Details
parent
eb7aed7afd
commit
7e411c2531
|
@ -15,32 +15,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0 # all history for all branches and tags\
|
fetch-depth: 0 # all history for all branches and tags\
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
id: cache
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cache/go-build
|
|
||||||
~/go
|
|
||||||
key: ${{ runner.os }}-go-
|
|
||||||
|
|
||||||
- uses: actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: '>=1.21.0'
|
|
||||||
|
|
||||||
- name: Install Hugo
|
- name: Install Hugo
|
||||||
run: |
|
run: |
|
||||||
go install -tags extended github.com/gohugoio/hugo@latest
|
sudo apt-get install -y hugo
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cache/go-build
|
|
||||||
~/go
|
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-go-
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
hugo --minify
|
hugo --minify
|
||||||
|
|
Loading…
Reference in New Issue