diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..3486a1b --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -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 }} diff --git a/README.md b/README.md index 45b5e97..d7704b6 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,27 @@ # OMJulia + Julia scripting OpenModelica interface -# Requirements: -[Openmodelica](https://www.openmodelica.org/)
-[Julia](https://julialang.org/)
-[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")) ``` @@ -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()