Added example how to get month.

This commit is contained in:
Alexander Artemenko 2021-02-25 00:22:04 +03:00
parent 342110d24f
commit 083aa5ec73

View file

@ -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