Update READMEs (quoting of branch/tag name settings)

This commit is contained in:
Ralph Lange
2020-06-30 09:49:37 +02:00
parent 0bf7d23a6f
commit 39a46ca578
2 changed files with 15 additions and 3 deletions

View File

@@ -365,16 +365,16 @@ This will make all builds (not just for your module) verbose.
Update the submodule in `.ci` first, then change your CI configuration Update the submodule in `.ci` first, then change your CI configuration
(if needed) and commit both to your module. E.g., to update your Travis (if needed) and commit both to your module. E.g., to update your Travis
setup to release 3.1.0 of ci-scripts: setup to release 3.1.1 of ci-scripts:
```bash ```bash
cd .ci cd .ci
git pull origin v3.1.0 git pull origin v3.1.1
cd - cd -
git add .ci git add .ci
# if needed: # if needed:
edit .travis.yml # and/or AppVeyor/GitHub Actions configuration edit .travis.yml # and/or AppVeyor/GitHub Actions configuration
git add .travis.yml git add .travis.yml
git commit -m "Update ci-scripts submodule to v3.1.0" git commit -m "Update ci-scripts submodule to v3.1.1"
``` ```
Check the example configuration files inside ci-scripts (and their Check the example configuration files inside ci-scripts (and their

View File

@@ -48,6 +48,18 @@
5. Push your changes and click on the `Actions` tab of your GitHub repository 5. Push your changes and click on the `Actions` tab of your GitHub repository
page to see your build results. page to see your build results.
## Specifics
#### Quote Environment Variable Values
Variable settings distinguish between numerical and string values.
Better quote all branch and tag names. E.g.,
```yaml
env:
BASE: "7.0"
```
to avoid ci-scripts trying to `git clone` with `--branch 7`.
## Caches ## Caches
GitHub Actions provides caching of dependencies. GitHub Actions provides caching of dependencies.