- Update base distribution to 20241208. [#444]
- Update dependencies
- Update @actions/cache to v4 which will be required for the GitHub cache backend migration, which is scheduled for 2025-02, see actions/toolkit#1890 for details. There is no action required for users of this action, but old versions of this action may start to fail after the legacy cache backend is sunset.
- Added a new action output
msys2-location
to get the path to the MSYS2 installation directory. [#404]
- Work around @actions/cache preventing node from exiting after a cache upload #354
- Update dependencies
- Tag all releases with semver tags [#327]
- Bump dependencies:
- @actions/cache to v3.2.2
- eslint to 8.46.0
- eslint-plugin-jsdoc to 46.4.6
- Remove dependency on powershell
- Add new option for disabling caching
- Don't fail if the GitHub caching service isn't working
- Bump dependencies:
- @actions/cache to v3.2.1
- Update base distribution to 20230318. [#289]
- Bump dependencies:
- eslint to v8.36.0
- @vercel/ncc to v0.36.1
- Downgrade @actions/cache to v3.0.6 as it breaks caching on self hosted runners and leaks MSYS related env vars. See actions/toolkit#1311
- Update base distribution to 20221216. [#268]
- Port to ES modules. [#260]
- Bump dependencies:
- @actions/cache to v3.1.2
- @vercel/ncc to v0.36.0
- eslint to v8.31.0
- folder-hash to v4.0.4
2.14.0 - 2022/11/01
- Update base distribution to 20221028. [#259]
- Bump dependencies:
- @actions/cache to v3.0.6
- @actions/core to v1.10.0
- eslint to v8.26.0
2.13.0 - 2022/09/04
- Update base distribution to 20220904. [#250]
- Disable pacman's disk space checking also when not updating [#242]
- Add github-actions to dependabot.yml [#240]
- Bump dependencies:
- @actions/cache to v3.0.4
- @actions/core to v1.9.1
- eslint to v8.23.0
2.12.0 - 2022/06/06
- Update base distribution to 20220603. [#233]
- Bump dependencies:
- @actions/cache to v2.0.5
- @actions/core to v1.8.2
- @actions/tool-cache to v2.0.1
- eslint to v8.17.0
- @vercel/ncc to v0.34.0
2.11.0 - 2022/05/03
2.10.3 - 2022/05/03
- CLANG32 is enabled by default in latest pacman.
- Bump dependencies:
- @actions/core to v1.7.0
2.10.2 - 2022/05/01
- Use mingw mirrorlist for CLANG32.
- Require 'update: true' to install packages on CLANG32.
2.10.1 - 2022/05/01
- Enable CLANG32 when
release
istrue
. - Bump dependencies:
- @actions/cache to v2.0.2
- @vercel/ncc to v0.33.4
- eslint to v8.14.0
2.10.0 - 2022/03/21
- Update base distribution to 20220319. [#205]
- Quote 'destination' when calling Get-FileHash. [#203]
- Bump dependencies:
- @actions/cache to v1.0.10
- @actions/exec to v1.1.1
- @actions/tool-cache to v1.7.2
2.9.0 - 2022/03/14
- Update base distribution to 20220128.
- Switch to nodejs v16 [#201]
- Bump dependencies:
- @actions/cache to v1.0.9
- eslint to v8.11.0
2.8.1 - 2022/01/19
2.8.0 - 2022/01/05
- Composite Action
matrix
.
- Default branch renamed from
master
tomain
. - Update workflow
Test
to use Actionmatrix
. - Examples:
- Update cmake example workflow to use option
pacboy
. - Convert
PKGBUILD.yml
into a Reusable Workflow. Add workflowTool.yml
, which uses it.
- Update cmake example workflow to use option
- Bump dependencies:
- @vercel/ncc to v0.33.1
- eslint to v8.6.0
2.7.0 - 2021/12/01
- Update base distribution to 20211130. [#179]
- Bump dependencies:
- @actions/cache to v1.0.8
- @vercel/ncc to v0.32.0
- eslint to v8.3.0
2.6.1 - 2021/11/03
- location: mkdirP msysRootDir before using it. [#174]
2.6.0 - 2021/11/03
- Bump dependencies:
- eslint to v8.1.0
2.5.0 - 2021/10/13
- Try to shorten the release install path a bit. [#163]
- Bump dependencies:
- @actions/core to v1.6.0
- @vercel/ncc to v0.31.0
- eslint to v8.0.0
2.4.2 - 2021/07/30
- Examples. [#149]
- Update base distribution to 20210725. [#154]
- Force date into a semver-compliant version. [#148]
- Bump dependencies:
- @vercel/ncc to v0.29.0
- eslint to v7.31.0
2.4.1 - 2021/07/06
- Cache installer in the tool cache. [#147]
- Bump dependencies:
- eslint to v7.30.0
2.4.0 - 2021/06/16
- Support CLANG32 system too. [#143]
- Bump dependencies:
- eslint to v7.28.0
2.3.1 - 2021/06/07
- Update base distribution to 20210604. [#141]
- Bump dependencies:
- @actions/core to v1.3.0
- @actions/tool-cache to v1.7.0
- @vercel/ncc to v0.28.6
- eslint to v7.27.0
2.3.0 - 2021/05/11
- Support CLANG64 system too. [#135]
2.2.0 - 2021/04/20
- Support UCRT64 system too. [#130]
- Update base distribution to 20210419. [#129]
- Bump dependencies:
- @actions/core to v1.2.7
- @actions/cache to v1.0.7
- @vercel/ncc to v0.28.3
- eslint to v7.24.0
2.1.6 - 2021/03/26
- Refresh the DBs before the final upgrade. [#119, #120]
- Bump dependencies:
- eslint to v7.22.0
- folder-hash to v4.0.1
2.1.5 - 2021/02/28
2.1.4 - 2021/02/15
- Fix splitting list of 'install' when items are separated by multiple spaces. [#103]
- Update base distribution to 20210215. [#112]
- Dependencies:
- Bump @actions/cache to v1.0.6
- Bump eslint to v7.20.0
- @zeit/ncc is no longer maintained; @vercel/ncc v0.27.0 is used instead
2.1.3 - 2021/01/06
- Add
CACHE_FLUSH_COUNTER
to CacheKey hash computation, for allowing flushing all the caches by bumping the Action. [#99] - Update base distribution to 20210105. [#101]
- README:
- Bump dependencies:
- @actions/cache to v1.0.5
- @actions/tool-cache to v1.6.1
- eslint to v7.17.0
2.1.2 - 2020/11/14
- Update base distribution to 20201109.
- Bump dependencies:
- @actions/cache to v1.0.4
- eslint to v7.13.0
- folder-hash to v4.0.0
2.1.1 - 2020/10/05
- Bump dependencies:
- @actions/core to v1.2.6
- eslint to v7.10.0
- folder-bash to v3.3.3
2.1.0 - 2020/09/04
- Update base distribution to 20200903. [#66]
- Conditionally disable the install cache, unset by default. [#63]
- Switch dependabot interval from 'daily' to 'weekly'.
- Bump dependencies:
- @actions/cache to v1.0.2
- @actions/core to v1.2.5
- eslint to v7.7.0
2.0.1 - 2020/07/27
eslint
support (.eslintrc.json
).- Create
dependabot.yml
.
- Refactor code into multiple functions. [#53]
- Cache the whole installation when possible. [#54]
pacman
:- CI: only build the action once. [#57]
- Dependencies:
- Bump @actions/cache to v1.0.1
- Fix: @actions/tool-cache should not be pinned
2.0.0 - 2020/07/20
- Update base distribution to 20200719. [#47]
- Change default of option
path-type
fromstrict
tominimal
. [#42] - Allow lowercase values for option
msystem
, and validate them. [#41, #48] - Disable initial key refresh to accelerate the setup. [#45]
- README:
- Add refs about 'matrix'. [#40]
- Explain that specific commands can/need be executed with
msys2 -c
.
- Bump dependencies:
- @actions/cache to v1.0.0
- @actions/tool-cache to v1.6.0
- Shell arguments are passed directly to bash. Now,
msys2 -c mybinary
can be used in cmd/powershell, instead ofmsys2 mybinary
. However, usingshell: msys2 {0}
is recommended. [#43, #44] pacman
package cache is reworked and enabled by default. As a result, optioncache
is removed. [#51]
1.1.2 - 2020/07/04
- Check the SHA256 of the installer, before extracting it. [#36]
1.1.1 - 2020/06/27
- Transfer from 'eine' to 'msys2'.
- Call
/usr/bin/env
instead of/usr/bin/bash
directly. - Fix the path to be cached, which depends on
p_release
, notp_update
. - Use
--needed
when installing additional packages (install
). [#30] - Use the self extracting archive instead of the
.tar.xz
. [#31] - Bump dependencies:
- folder-hash to v3.3.2
1.1.0 - 2020/06/05
- Option
cache
. - Option
release
.
update: true
alone now defaults to using the installation from GitHub Releases, instead of the default installation in the virtual environment. [#23]- Disable
CheckSpace
to reduce update time. - ignoreReturnCode when executing
pacman -Syuu
for the first time.
1.0.1 - 2020/06/04
- Update base distribution to 20200602.
1.0.0 - 2020/05/28
- Update base distribution to 20200522.
- CI: update actions/checkout to v2.
- README:
- Show how to set a default shell.
- Recommended version is v1.
- Update keywords in
package.json
. - Bump dependencies
- @actions/tool-cache to v1.5.5
- @zeit/ncc to v0.22.3
msys2do
andmsys2
are now unified andmsys2do
is removed.
0.2.0 - 2020/05/22
- If
update: true
, use default MSYS2 installation now available inwindows-latest
. - Call
taskkill
once only.
0.1.2 - 2020/05/20
- Do not update
pacman
separatedly.
0.1.1 - 2020/05/20
- Execute
taskkill
after updating packages and before the final upgrade.
0.1.0 - 2020/05/19
- Option
install
.
- Update base distribution to 20200517, from msys2/msys2-installer GitHub Releases.
- Execute
taskkill
afterpacman -Syu
. - README: recommended version is v0.
0.0.2 - 2020/05/14
- Rename from 'numworks' to 'eine'.
- Rename
npm run build
task tonpm run pkg
. - Update description of the Action.
- Bump dependencies:
- @actions/core to v1.2.4
- @actions/exec to v1.0.4
- @actions/tool-cache to v1.3.5
- @zeit/ncc to v0.22.1
0.0.1 - 2020/01/19
- Options:
msystem
,update
andpath-type
. [numworks/setup-msys2#1, numworks/setup-msys2#3, numworks/setup-msys2#6, numworks/setup-msys2#7, numworks/setup-msys2#14] msys2.cmd
, to support multi-line run steps. [numworks/setup-msys2#8, numworks/setup-msys2#21]- Bundle for deployment with ncc. [numworks/setup-msys2#4, numworks/setup-msys2#5]
- Add GitHub Actions workflow. [numworks/setup-msys2#3, numworks/setup-msys2#15, numworks/setup-msys2#16, numworks/setup-msys2#18]
- README: badges/shields. , [numworks/setup-msys2#9]
.gitignore
.
- Checks:
- Is the host platform Windows?
- Is RUNNER_TMP empty?
- Extraction:
- Use
7z
instead oftar
. [numworks/setup-msys2#26, numworks/setup-msys2#28] - Use
ExecOptions.cwd
.
- Use
msys2do.cmd
:- Hardcode it in
index.js
. - Do not overwrite MSYS2_PATH_TYPE envvar.
- Add
@echo off
and--norc -eo pipefail
. - Use
\r\n
instead of\n\r
.
- Hardcode it in
- Ensure that MSYS2 is initialized.
- Bump dependencies:
- @actions/core to v1.2.0
- @actions/exec to v1.0.2 [numworks/setup-msys2#24]
io.which
is not required anymore.- Clean
package-lock.json
.