All,
An odd behavior. I need to set an environment variable with a period in the name (eframe.key). The action YAML file is:
name: BuildAndTestAll
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build and Test
env:
# A key to use for testing, not used in production.
eframe.key: someKey890123456789012345678901234567890
eframeKey: othersomeKey890123456789012345678901234567890
run: ./gradlew cleanAll testAll -DwriteTests=false
The variable eframeKey works fine and is in the environment. The eframe.key is not. I am using Micronaut and it seems to need the variable with a period in the name (not sure why yet).
I have a short-term work around using a default value in the code, but I need to avoid that for security reasons.
Is period just a reserved character for the names?
The repository is: https://github.com/simplemes/simplemes-core