From bce943050094e92a3944855696f8e6f1c29b1409 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Mon, 2 Sep 2024 13:56:38 +0200 Subject: [PATCH 1/2] avoid start failure with multiple concurrent CI runs --- .github/workflows/Documentation.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 2be438a..0463c88 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -29,12 +29,11 @@ jobs: private_registry_name: JuliaHubRegistry private_registry_uuid: de52bcdf-fcb2-40cf-a397-3d64b64f4d9c - name: Install dependencies - run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg; - ENV["DISPLAY"] = "0"; + run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg; Pkg.setprotocol!(; domain = "github.com", protocol = "ssh"); Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token - run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl + run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl From 10c8c56d03a5a9d3660acc48e7cccbb46ba53238 Mon Sep 17 00:00:00 2001 From: Fredrik Bagge Carlson Date: Mon, 2 Sep 2024 14:00:45 +0200 Subject: [PATCH 2/2] add docs badges --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c9501a8..822518a 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ > To be presented at JuliaCon 2024. https://pretalx.com/juliacon2024/talk/KGAKA8/ [![Build Status](https://github.com/JuliaComputing/ModelingToolkitSampledData.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JuliaComputing/ModelingToolkitSampledData.jl/actions/workflows/CI.yml?query=branch%3Amain) +[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliacomputing.github.io/ModelingToolkitSampledData.jl/stable/) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliacomputing.github.io/ModelingToolkitSampledData.jl/dev/) A standard library with discrete-time components for ModelingToolkit. @@ -13,3 +15,5 @@ Requires [JuliaSimCompiler.jl](https://help.juliahub.com/juliasimcompiler/stable To install this library, first follow the [installation instructions for JuliaSimCompiler](https://juliacomputing.github.io/JuliaSimCompiler.jl/stable/#Installing-and-Using-JuliaSimCompiler). In particular, you need to [add the JuliaHub Registry](https://help.juliahub.com/juliasim/dev/gettingstarted/juliahubregistry/). After the registry is added and JuliaSimCompiler is installed, you may install this package. This package is currently not registered in any register and must thus be installed by URL. + +