From 7e411c253168d191f61b86667161cd85ebe81ffe Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Sat, 17 Feb 2024 14:06:28 +0100 Subject: [PATCH] Update build --- .forgejo/workflows/build.yaml | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 1f8512a..59968be 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -15,32 +15,11 @@ jobs: with: submodules: recursive 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 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 run: | hugo --minify