Skip to content

Commit

Permalink
Add TagBot
Browse files Browse the repository at this point in the history
  - Automate git tag generation whenever version from Project.toml is
    updated.
  • Loading branch information
AnHeuermann committed Feb 20, 2023
1 parent fd2e3a1 commit b5c6f2d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 6 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: TagBot
on:
issue_comment:
types:
- created
workflow_dispatch:
inputs:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# OMJulia

Julia scripting OpenModelica interface

# Requirements:
[Openmodelica](https://www.openmodelica.org/)<br>
[Julia](https://julialang.org/)<br>
[Dependencies](Project.toml)
# Requirements

- [Openmodelica](https://www.openmodelica.org/)
- [Julia](https://julialang.org/)
- [Dependencies](Project.toml)

# Installation
## For Windows

Set the OpenModelica to "Path" environment variable for windows:
```
"C:/OpenModelica1.14.0-dev-64bit/bin"
```
## For GNU/Linux and macOS

Follow the instructions @ https://github.com/JuliaLang/julia

# Getting OMJulia
```

```julia
julia> import Pkg
julia> Pkg.add(Pkg.PackageSpec(url="https://github.com/OpenModelica/OMJulia.jl"))
```
Expand All @@ -27,7 +32,8 @@ To see the list advanced API, the informations are provided in the UserGuide see
(https://www.openmodelica.org/doc/OpenModelicaUsersGuide/latest/omjulia.html)

# Usage
```

```julia
julia> using OMJulia
julia> using OMJulia: sendExpression
julia> omc=OMJulia.OMCSession()
Expand Down

0 comments on commit b5c6f2d

Please sign in to comment.