aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-10-30 09:29:38 +0100
committerBjørn Erik Pedersen <[email protected]>2024-10-30 11:46:40 +0100
commit89bd025ebfd2c559039826641702941fc35a7fdb (patch)
tree96b457737db99ffd1a27d502798257f0e7d79db6 /.github
parent62567d38205a61134a6822d37a534520772419f1 (diff)
downloadhugo-89bd025ebfd2c559039826641702941fc35a7fdb.tar.gz
hugo-89bd025ebfd2c559039826641702941fc35a7fdb.zip
Build without the deploy feature by default
Build tags setup changed to: * !nodeploy => withdeploy * nodeploy => !withdeploy Also move the deploy feature out into its own release archives. See #12994 for the primary motivation for this change. But this also greatly reduces the number of dependencies in Hugo when you don't need this feature and cuts the binary size greatly. Fixes #12994
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b513863c5..05d9d23a2 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -112,17 +112,17 @@ jobs:
sass --version;
mage -v check;
env:
- HUGO_BUILD_TAGS: extended
+ HUGO_BUILD_TAGS: extended,withdeploy
- if: matrix.os == 'windows-latest'
# See issue #11052. We limit the build to regular test (no -race flag) on Windows for now.
name: Test
run: |
mage -v test;
env:
- HUGO_BUILD_TAGS: extended
+ HUGO_BUILD_TAGS: extended,withdeploy
- name: Build tags
run: |
- go install -tags extended,nodeploy
+ go install -tags extended
- if: matrix.os == 'ubuntu-latest'
name: Build for dragonfly
run: |