This action prints (and returns) current price per ounce for the selected commodity.
Required The commodity you want to know its current price per ounce. Default 'gold'
.
The current price for the selected commodity
name: ci
on:
push:
branches:
- 'main'
jobs:
get_commodity_price:
runs-on: ubuntu-latest
steps:
- name: Get commodity price step
uses: jtrillo/get-commodity-price-action@v1.0.1
with:
commodity: silver