Skip to content

Debugging what happens to the mtimes on ubuntu-latest #1

Debugging what happens to the mtimes on ubuntu-latest

Debugging what happens to the mtimes on ubuntu-latest #1

Workflow file for this run

name: mtime
on:
pull_request:
push:
permissions:
contents: read
jobs:
job-1:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- run: sleep 3
- run: rm -rfv ~/.julia
- uses: julia-actions/[email protected]
with:
version: '1.8.5'
- run: |
file = joinpath(dirname(Sys.BINDIR), "share", "julia", "stdlib", "v1.8", "MbedTLS_jll", "src", "MbedTLS_jll.jl")
# Print mtime
# On macOS, use `stat -f %m`
# On Linux, use `stat -c %Y`
run(`stat -f %m $(file)`)
shell: julia --startup-file=no --color=yes
job-2:
runs-on: ubuntu-latest
timeout-minutes: 10
needs: [job-1]
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- run: sleep 3
- run: rm -rfv ~/.julia
- uses: julia-actions/[email protected]
with:
version: '1.8.5'
- run: |
file = joinpath(dirname(Sys.BINDIR), "share", "julia", "stdlib", "v1.8", "MbedTLS_jll", "src", "MbedTLS_jll.jl")
# Print mtime
# On macOS, use `stat -f %m`
# On Linux, use `stat -c %Y`
run(`stat -f %m $(file)`)
shell: julia --startup-file=no --color=yes