From 23cbeaf2e227bd623bda5c9cc1caea026711aabf Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 2 Jul 2021 15:21:08 +0300 Subject: README: update --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a8147b7..791a1ee 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3