Fix output issue in docker build Actions
parent
ea53ea31bb
commit
789aa3b79a
|
@ -15,10 +15,10 @@ jobs:
|
|||
run: curl -s https://hub.docker.com/v2/repositories/drunkendog/standard-build-actions/tags/latest
|
||||
| jq '.last_updated'
|
||||
| xargs -i date --date {} +%s
|
||||
| xargs -i expr $(date +%s) - {}
|
||||
| xargs -i expr $(date +%s) - {} >> $GITHUB_OUTPUT
|
||||
Build-Image:
|
||||
needs: [Check-Last-Time]
|
||||
if: Check-Last-Time.outputs.last-time < 1
|
||||
if: needs.Check-Last-Time.outputs.last-time > 1
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
|
|
Loading…
Reference in New Issue