diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-07-02 15:21:08 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-07-02 15:21:08 +0300 |
commit | 23cbeaf2e227bd623bda5c9cc1caea026711aabf (patch) | |
tree | a5b78c3e77887b4228f16355b1c3ee3920c5e869 | |
parent | README: fix a typo (diff) | |
download | setup-gcc-23cbeaf2e227bd623bda5c9cc1caea026711aabf.tar.gz setup-gcc-23cbeaf2e227bd623bda5c9cc1caea026711aabf.zip |
README: update
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,7 @@ Set up GCC This GitHub action sets up GCC in your workflow run. 1. Installs either 32-bit or 64-bit GCC on either Ubuntu or Cygwin. +2. Specify a version to install using the `version` parameter. 2. For installing GCC on Windows please see my action [setup-mingw]. [setup-mingw]: https://github.com/egor-tensin/setup-mingw @@ -15,8 +16,10 @@ Use it in your workflow like this: - name: Set up GCC uses: egor-tensin/setup-gcc@v1 with: + version: latest platform: x64 +* `latest` is the default value for the `version` parameter and can be omitted. * `x64` is the default value for the `platform` parameter and can be omitted. Use `x86` if you want to build 32-bit binaries. * Set the `cygwin` parameter to `1` to set up GCC inside an existing Cygwin |