Comments (5)
Thanks for pointing it out :)
I think this issue is resolved in 0.2.2
.
If you still have the problem, please reopen this issue and let me know.
from case-cli.
@jopemachine actually 0.2.2 still errors in GitHub Actions (different error now):
+ [email protected]
updated 1 package in 5.911s
Error: Unable to process file command 'env' successfully.
Error: Invalid environment variable format 'Outline'
from case-cli.
@jopemachine actually 0.2.2 still errors in GitHub Actions (different error now):
+ [email protected] updated 1 package in 5.911s Error: Unable to process file command 'env' successfully. Error: Invalid environment variable format 'Outline'
@gryphonmyers I tested 0.2.2
on my headless ubuntu, cannot reproduce the error.
May I see the Github action?
from case-cli.
This is the step where case-cli is used
- name: Compute Stack Name and Prefix
shell: bash
run: |
npm i -g case-cli
STACK_PREFIX=$(case-cli pascal $DOMAIN_NAME)
echo "STACK_PREFIX=${STACK_PREFIX}" >> $GITHUB_ENV
echo "STACK_NAME=${STACK_PREFIX}Stack" >> $GITHUB_ENV
env:
DOMAIN_NAME: ${{ inputs.domain-name }}
If I switch the npm i command to npm i -g [email protected]
the error goes away
Node setup might also be relevant
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: "14.x"
from case-cli.
I made some fixes and released 0.3.4
.
And I tested 0.3.4 on CI using nodes 12, 14.
This is the workflow.
# This is a basic workflow to help you get started with Actions
name: Test
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14' ]
name: test
steps:
- uses: actions/checkout@v2
- name: case-cli test
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm i -g case-cli
- run: case-cli -c=snake hello world
Could you test your workflow again using 0.3.4?
from case-cli.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from case-cli.