- name: get timestamp for cache
id: get-stamp
run: |
- echo "::set-output name=stamp::$(/bin/date +%s)"
+ echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT"
shell: bash
- name: let GitHub cache our ccache data
uses: actions/cache@v3.0.11
- name: get timestamp for cache
id: get-stamp
run: |
- echo "::set-output name=stamp::$(/bin/date +%s)"
+ echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT"
shell: bash
- name: let GitHub cache our ccache data
uses: actions/cache@v3.0.11
- name: get timestamp for cache
id: get-stamp
run: |
- echo "::set-output name=stamp::$(/bin/date +%s)"
+ echo "stamp=$(/bin/date +%s)" >> "$GITHUB_OUTPUT"
shell: bash
- name: let GitHub cache our ccache data
uses: actions/cache@v3.0.11
# so that the command remains readable, because jo is simpler to use.
- run: sudo apt-get update && sudo apt-get -y install jo
- id: get-oslist
- run: echo "::set-output name=oslist::"$(jo -a ${{ github.event.inputs.os }})
+ run: echo "oslist=$(jo -a ${{ github.event.inputs.os }})" >> "$GITHUB_OUTPUT"
build:
needs: prepare