Added example how to get month.
This commit is contained in:
parent
342110d24f
commit
083aa5ec73
1 changed files with 5 additions and 0 deletions
5
.github/workflows/docs.yml
vendored
5
.github/workflows/docs.yml
vendored
|
@ -23,6 +23,11 @@ jobs:
|
||||||
- name: Grant All Perms on /usr/local/etc/roswell
|
- name: Grant All Perms on /usr/local/etc/roswell
|
||||||
# This makes cache restoration possible
|
# This makes cache restoration possible
|
||||||
run: sudo mkdir -p /usr/local/etc/roswell && sudo chown "${USER}" /usr/local/etc/roswell
|
run: sudo mkdir -p /usr/local/etc/roswell && sudo chown "${USER}" /usr/local/etc/roswell
|
||||||
|
# - name: Get Current Month
|
||||||
|
# id: current-month
|
||||||
|
# run: |
|
||||||
|
# echo "::set-output name=value::$(date -u "+%Y-%m")"
|
||||||
|
# # use it as ${{ steps.current-month.outputs.value }}
|
||||||
- name: Cache Roswell Setup
|
- name: Cache Roswell Setup
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
|
Loading…
Reference in a new issue