KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
render-json-action
★ 11
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
MultiServerCounter
:
A PocketMine-MP plugin that combines online players counts of multiple servers
ncov-statistics
:
武汉新型冠状病毒肺炎疫情热力统计图
ThermalCameraMod
:
AMG8833 thermal camera with ESP8266
docs
:
Repository for Unlock Protocol docs.
ByteToHeader
:
Simple C tool to generate a C header file with an array of bytes of given file.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
render-json-action
?
Download (.md)
# render-json-action This action render json file with environment variables and return rendered json file path ## Example usage ```yaml - uses: loveloper44/render-json-action@v2.0.2 id: render with: json: jsonFilePath - name: Get the output run: echo "${{ steps.render.outputs.result }}" ``` ## Json file Create input json file ```json { "app": { "service_id": "%s ENV_SERVICE_ID" }, "db":{ "host": "%s ENV_DB_HOST", "port": "%d ENV_DB_PORT", "user_name": "%s ENV_DB_USER_NAME", "user_password": "%s ENV_DB_USER_PASSWORD", } } ``` You can use 4 types like below - %d number - %s string - %b boolean - %f float Action will render json file with environment variables and return rendered json file path ```json { "app": { "service_id": "TestService" }, "db":{ "host": "localhost", "port": 3306, "user_name": "user", "user_password": "password", } } ```