Skip to content

Commit

Permalink
Update GitHub actions (#149)
Browse files Browse the repository at this point in the history
* Fix the view of the start page in the docu

* Tidy up actions

* Avoid multiple execution of the docu workflow

* Skip build doc instead of cancel

* Testing action

* Add base to dorny/paths-filter

* Update to new version of nbconvert

* Update readme

* Fix version of nbclient and nbconvert

* Set jupyter core version

* Update example action

* Delete run examples (artifact)

* Add test for model description in test workflow

* Correct some tests

* Update readme

* Update action

* Add manual trigger for the test action

* Update project.toml

* Update project.toml

* Add readme for the creation of the deploy key

* Update depoy key readme

* Update compat
  • Loading branch information
stoljarjo authored Sep 30, 2022
1 parent 621b835 commit 6637cca
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- completed
push:
branches:
- examples
- 'examples'

jobs:
sync-files:
Expand Down
84 changes: 84 additions & 0 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# Creation of the SSH deploy key for the CompatHelper

## 1. Create an ssh key pair.
This command is avaible for Windows (`cmd`) and Linux (`bash`).
```
ssh-keygen -N "" -f compathelper_key -t ed25519
```

## 2. Copy the **private** key.
Copy the output to your clipboard.
1. Windows

```
type compathelper_key
```
1. Linux
```
cat compathelper_key
```
## 3. Create a GitHub secret.
1. Open the repository on the GitHub page.
1. Click on the **Settings** tab.
1. Click on **Secrets**.
1. Click on **Actions**.
1. Click on the **New repository secret** button.
1. Name the secret `COMPATHELPER_PRIV`.
1. Paste the **private** key as content.
## 4. Copy the **public** key.
Copy the output to your clipboard.
1. Windows
```
type compathelper_key.pub
```
1. Linux
```
cat compathelper_key.pub
```
## 5. Create a GitHub deploy key.
1. Open the repository on the GitHub page.
1. Click on the **Settings** tab.
1. Click on **Deploy keys**.
1. Click on the **Add deploy key** button.
1. Name the deploy key `COMPATHELPER_PUB`.
1. Paste the **public** key as content.
1. Enable the write access for the deploy key.
## 6. Delete the ssh key pair.
1. Windows
```
del compathelper_key compathelper_key.pub
```
1. Linux
```
rm -f compathelper_key compathelper_key.pub
```
For more Information click [here](https://docs.juliahub.com/CompatHelper/GCWpz/2.0.1/#Instructions-for-setting-up-the-SSH-deploy-key).
1 change: 1 addition & 0 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Run Tests

on:
workflow_dispatch:
pull_request:
push:
branches:
Expand Down
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"

[compat]
ChainRulesCore = "1.15.3"
DiffEqCallbacks = "^2.23"
DifferentialEquations = "^7.2.0"
FMIExport = "0.1.5"
ChainRulesCore = "1.15.0"
DiffEqCallbacks = "2.24.0"
DifferentialEquations = "7.5.0"
FMIExport = "0.1.0"
FMIImport = "0.11.0"
ForwardDiff = "0.10.25"
ProgressMeter = "^1.7.2"
ForwardDiff = "0.10.0"
ProgressMeter = "1.7.0"
Requires = "1.3.0"
SciMLBase = "^1.46"
SciMLBase = "1.59.0"
julia = "1.6"

0 comments on commit 6637cca

Please sign in to comment.