Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ECCCo-jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick Altmeyer
ECCCo-jl
Commits
4ff5f10a
Commit
4ff5f10a
authored
1 year ago
by
pat-alt
Browse files
Options
Downloads
Patches
Plain Diff
updated CompatHelper CI
parent
849f24f5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/CompatHelper.yml
+33
-5
33 additions, 5 deletions
.github/workflows/CompatHelper.yml
with
33 additions
and
5 deletions
.github/workflows/CompatHelper.yml
+
33
−
5
View file @
4ff5f10a
...
...
@@ -3,14 +3,42 @@ on:
schedule
:
-
cron
:
0 0 * * *
workflow_dispatch
:
permissions
:
contents
:
write
pull-requests
:
write
jobs
:
CompatHelper
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
Pkg.add("CompatHelper")
run
:
julia -e 'using Pkg; Pkg.add("CompatHelper")'
-
name
:
CompatHelper.main()
-
name
:
Check if Julia is already available in the PATH
id
:
julia_in_path
run
:
which julia
continue-on-error
:
true
-
name
:
Install Julia, but only if it is not already available in the PATH
uses
:
julia-actions/setup-julia@v1
with
:
version
:
'
1'
arch
:
${{ runner.arch }}
if
:
steps.julia_in_path.outcome != 'success'
-
name
:
"
Add
the
General
registry
via
Git"
run
:
|
import Pkg
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")
shell
:
julia --color=yes {0}
-
name
:
"
Install
CompatHelper"
run
:
|
import Pkg
name = "CompatHelper"
uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
version = "3"
Pkg.add(; name, uuid, version)
shell
:
julia --color=yes {0}
-
name
:
"
Run
CompatHelper"
run
:
|
import CompatHelper
CompatHelper.main()
shell
:
julia --color=yes {0}
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV
:
${{ secrets.DOCUMENTER_KEY }}
run
:
julia -e 'using CompatHelper; CompatHelper.main()'
COMPATHELPER_PRIV
:
${{ secrets.DOCUMENTER_KEY }}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment