Commit Graph

752 Commits

Author SHA1 Message Date
Mikey Lombardi (He/Him)
43d5a36d37
Merge b7e8a5bdba into 966dfad385 2024-02-07 00:17:46 +09:00
peaceiris
966dfad385
chore: npm audit fix 2024-02-06 23:49:51 +09:00
Rui Chen
c57490a8b0
feat: bump to use node20 runtime (#641) 2024-02-06 23:47:20 +09:00
Andreas Deininger
aadc3a98df
ci: bump checkout to v4 (#639) 2023-10-05 09:17:20 +09:00
Andreas Deininger
c0084b0763
docs: update cache usage (#636) 2023-09-12 00:08:23 +09:00
Henry Mai
31c46541ce
docs: remove braces (#634)
https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution#overview
2023-06-10 19:53:43 +09:00
Shohei Ueda
3d92e2fd55
docs: replace set-output with GITHUB_OUTPUT
close https://github.com/peaceiris/actions-hugo/issues/633
2023-05-05 23:18:27 +09:00
Andreas Deininger
7c4b9f1f99
docs: bump ruby version to 3.2 (#629) 2023-02-22 16:07:48 +09:00
Andreas Deininger
7652d53369
docs: bump versions (#628) 2023-02-21 23:46:45 +09:00
dependabot[bot]
3fa8fd6cee
ci: bump actions/setup-node from 3.5.1 to 3.6.0 (#625)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 18:59:08 +09:00
dependabot[bot]
844f8735f6
ci: bump actions/dependency-review-action from 2 to 3 (#622)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 12:02:46 +09:00
dependabot[bot]
b1822b6abe
ci: bump peaceiris/actions-hugo from 2.5.0 to 2.6.0 (#621)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 11:25:57 +09:00
peaceiris
4910870eaa
chore(release): Remove build assets [skip ci] 2022-10-24 00:28:24 +09:00
peaceiris
16361eb4ac
chore(release): 2.6.0 2022-10-24 00:28:23 +09:00
peaceiris
2eb0f86851
chore(release): Add build assets 2022-10-24 00:28:16 +09:00
Shohei Ueda
9a77c647c2
feat: bump node12 to node16 (#617)
Close https://github.com/peaceiris/actions-hugo/issues/611

- deps: bump node12 to node16
- deps: bump @actions/core from 1.6.0 to 1.10.0
2022-10-24 00:26:51 +09:00
Shohei Ueda
8da14cc542
chore: fix year (#613) 2022-10-16 01:19:10 +09:00
Michael T Lombardi
b7e8a5bdba
(GH-608) Add getConventions and refactor
This commit introduces the getConventions function, which does a one-time calculation
for the changes in packaging conventions to propagate to the getArch and getOS
functions.

It updates those functions and the installer code to leverage the conventions.

Finally, it updates the test arrangement for getArch and getOS to use test cases
instead of repeating the same test over and over and adds unit tests for the new
getConventions function.
2022-10-13 23:13:33 -05:00
dependabot[bot]
c0150f24bb
ci: bump actions/setup-node from 3.5.0 to 3.5.1 (#612)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 11:13:39 +09:00
codefactor-io
c7d0025d39
[CodeFactor] Apply fixes to commit e70fd02 2022-10-06 13:13:28 +00:00
Michael T Lombardi
e70fd029fa
(GH-608) Fix package url for v0.102.0 & v0.103.0
Prior to this change, the URL building for versions of hugo was
deterministic as the URLs for the packages were set to a
project-specific standard. That URL creation began to fail for macOS in
[0.102.0] and for Windows in [0.103.0]. It does not fail for Linux
because the hugo releases for Linux continue to include the old package
naming as an alias.

This change:

- Updates the `get-os` function to take the hugo version as additional
  input, altering the return value based on the version.
- Updates the `get-arch` function to take the operating system name and
  hugo version as additional input, altering the return value based on
  both. Including the OS name is required for handling macOS.
- Fixes #608
- Fixes #605

[0.102.0]: https://github.com/gohugoio/hugo/releases/tag/v0.102.0
[0.103.0]: https://github.com/gohugoio/hugo/releases/tag/v0.103.0
2022-10-06 08:09:56 -05:00
dependabot[bot]
a2eba60698
ci: bump actions/setup-node from 3.4.1 to 3.5.0 (#606)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 11:06:30 +09:00
dependabot[bot]
831547a4b2
ci: bump actions/dependency-review-action from 1 to 2 (#593)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-30 00:12:50 +09:00
Sardorbek Imomaliev
bd5a5edf1b
ci: drop ubuntu-18.04, add ubuntu-22.04 and ubuntu-latest (#603)
add support for ubuntu 22.04, drop ubuntu-18.04

- [starting with 8 of August 2022 support for ubuntu 18.04 is deprecated](https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/)
- [ubuntu 22.04 is generally available](https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/)
2022-08-30 00:06:54 +09:00
Sardorbek Imomaliev
46553eae11
docs: use setup-node cache-dependency-path (#602) 2022-08-27 20:15:37 +09:00
dependabot[bot]
11bede66e7
ci: bump actions/setup-node from 3.1.1 to 3.4.1 (#598)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 11:36:30 +09:00
dependabot[bot]
808d10a6aa
ci: bump github/codeql-action from 1 to 2 (#581)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-26 14:03:21 +09:00
dependabot[bot]
25736cc1c0
ci: bump actions/setup-node from 3.1.0 to 3.1.1 (#577)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 12:20:37 +09:00
dependabot[bot]
6ce18a799f
ci: bump actions/upload-artifact from 2 to 3 (#576)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 21:36:56 +09:00
Shohei Ueda
4809af4bd4
ci: add actions/dependency-review-action v1 2022-04-11 00:25:28 +09:00
dependabot[bot]
3c69ee1612
ci: bump codecov/codecov-action from 2.1.0 to 3 (#575)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 21:38:22 +09:00
dependabot[bot]
2f2b8d32b9
ci: bump actions/setup-node from 3.0.0 to 3.1.0 (#574)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 12:35:35 +09:00
dependabot[bot]
7d27b3ca0d
deps: bump @actions/exec from 1.0.4 to 1.1.1 (#571)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 16:02:57 +09:00
dependabot[bot]
616b5f11b6
deps: bump @actions/tool-cache from 1.6.1 to 1.7.2 (#570)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:56:30 +09:00
dependabot[bot]
91a922ca60
deps: bump glob-parent from 5.1.1 to 5.1.2 (#563)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:56:09 +09:00
dependabot[bot]
8f469b17c3
deps: bump tmpl from 1.0.4 to 1.0.5 (#558)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:55:26 +09:00
dependabot[bot]
26d3d6b656
deps: bump shelljs from 0.8.4 to 0.8.5 (#561)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:55:08 +09:00
dependabot[bot]
f90a73305c
deps: bump trim-off-newlines from 1.0.1 to 1.0.3 (#560)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:54:42 +09:00
dependabot[bot]
dee39257f5
deps: bump path-parse from 1.0.6 to 1.0.7 (#559)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:54:02 +09:00
dependabot[bot]
be79927858
deps: bump @actions/core from 1.2.7 to 1.6.0 (#544)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:40:34 +09:00
dependabot[bot]
b15a5c70d3
deps: bump ws from 7.4.0 to 7.5.7 (#573)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 14:45:40 +09:00
dependabot[bot]
857689ab4c
deps: bump ansi-regex from 5.0.0 to 5.0.1 (#562)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 14:24:14 +09:00
dependabot[bot]
b2630b1c8f
deps: bump minimist from 1.2.5 to 1.2.6 (#572)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 14:10:02 +09:00
peaceiris
0401e3b43f
bump actions 2022-03-19 15:49:14 +09:00
dependabot[bot]
a41bdb53bd
ci: bump actions/checkout from 2.4.0 to 3 (#565)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 11:40:05 +09:00
dependabot[bot]
550aee6c36
ci: bump actions/setup-node from 2.5.1 to 3.0.0 (#557)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 13:59:51 +09:00
Shohei Ueda
ba23c24d3a
ci: Remove updating npm 2022-02-25 13:54:09 +09:00
xiaoping
333f75f372
Update README.md (#555) 2022-01-24 14:43:41 +09:00
dependabot[bot]
1575f408ae
ci: bump actions/setup-node from 2.5.0 to 2.5.1 (#552)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-29 16:01:34 +09:00
peaceiris
3476bf7e65
Use hugo v0.91.2 for examples 2021-12-24 09:39:58 +09:00