mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 11:06:53 +08:00
* Simplify the release process (no more build script or release branches)
* Remove the `bin/` submodule
* npm run pack
* Use a different YAML syntax
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
* Use simpler (but equivalent) logic
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
* Fix a logic bug
* Remove some job matrices
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
* Intentionally fail a job (to make sure that `finalize` thus also fails)
* Revert "Intentionally fail a job (to make sure that `finalize` thus also fails)"
This reverts commit cd7944ca82.
---------
Co-authored-by: Curtis Vogt <curtis.vogt@gmail.com>
17 lines
436 B
Julia
17 lines
436 B
Julia
const cmd = `git --no-pager diff --exit-code --stat`
|
|
|
|
const proc = run(pipeline(cmd; stdin, stdout, stderr); wait = false)
|
|
|
|
wait(proc)
|
|
|
|
@info "" success(proc) proc.exitcode
|
|
|
|
if !success(proc)
|
|
recommended_cmd = "make everything-from-scratch"
|
|
msg = "##[error] found changed files after build. " *
|
|
"Please run `$(recommended_cmd)` and " *
|
|
"then check in all changes."
|
|
println(stderr, msg)
|
|
exit(1)
|
|
end
|