Compare commits
2 Commits
9ce4d85778
...
6e52dfee87
Author | SHA1 | Date |
---|---|---|
Martin Scheidt | 6e52dfee87 | |
Martin Scheidt | 6404dc5f5c |
|
@ -61,16 +61,6 @@ jobs:
|
|||
path: .github/zenodo/metadata.json
|
||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||
|
||||
register:
|
||||
needs: create_package
|
||||
name: "publish in JuliaRegistries"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 1. register new release at JuliaRegistries
|
||||
- uses: julia-actions/RegisterAction@latest
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
publish_github:
|
||||
needs: create_package
|
||||
name: "publish on github"
|
||||
|
@ -141,7 +131,7 @@ jobs:
|
|||
echo "::set-output name=doi::$(zenodraft deposition show prereserved $ID)"
|
||||
|
||||
update_citation:
|
||||
needs: [create_package, register, publish_zenodo]
|
||||
needs: publish_zenodo
|
||||
name: "updating CITATION.cff"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -175,8 +165,18 @@ jobs:
|
|||
commit_user_name: railtoolkit
|
||||
commit_user_email: railtoolkit@ownx.net
|
||||
|
||||
register:
|
||||
needs: update_citation
|
||||
name: "publish in JuliaRegistries"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 1. register new release at JuliaRegistries
|
||||
- uses: julia-actions/RegisterAction@latest
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
publish_twitter:
|
||||
needs: [publish_zenodo]
|
||||
needs: publish_zenodo
|
||||
name: "tweet about it"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -40,7 +40,7 @@ The running time will be return in seconds.
|
|||
|
||||
# Examples
|
||||
```julia-repl
|
||||
julia> trainrun(train, path)
|
||||
julia> trainrun(train, path)[end,:t]
|
||||
xxx.xx # in seconds
|
||||
```
|
||||
"""
|
||||
|
|
|
@ -14,7 +14,8 @@ The function Settings() will create a set of settings for the train run calculat
|
|||
# Example
|
||||
```
|
||||
julia> my_settings = Settings() # will generate default settings
|
||||
Settings(mass_point, :distance, 20, 3, running_time, :dataframe)
|
||||
# massModel, stepVariable, stepSize, approxLevel, outputDetail, outputFormat
|
||||
Settings(:mass_point, :distance, 20, 3, :running_time, :dataframe)
|
||||
```
|
||||
"""
|
||||
function Settings(file="DEFAULT")
|
||||
|
|
Loading…
Reference in New Issue