mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 02:56:54 +08:00
Simplify the release process (no more build script or release branches) (#281)
* 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>
This commit is contained in:
16
ci/check_uncommitted_changes.jl
Normal file
16
ci/check_uncommitted_changes.jl
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user