Skip to content

A simple composit action that add local/personal registry to your julia environment.

Notifications You must be signed in to change notification settings

okatsn/add-registry

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Add Registry

add-registry is a github actions that simply add personal julia registry.

Requirement

Input

author-name: The 'author/repository-name'. Default is 'okatsn/OkRegistry'.

Usage

Example for generating julia Documentation of a package named SWCForecast which lives under https://github.com/okatsn/OkRegistry.git:

name: CI
on:
  push:
    branches:
      - main
    tags: ['*']
  pull_request:

jobs:
  docs:
    name: Documentation
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v3
      - uses: julia-actions/setup-julia@v1
        with:
          version: '1'
      - uses: okatsn/add-registry@v2
        with:
          author-name: 'okatsn/OkRegistry'

      - uses: julia-actions/julia-buildpkg@v1
      - uses: julia-actions/julia-docdeploy@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - run: |
          julia --project=docs -e '
            using Documenter: DocMeta, doctest
            using SWCForecast
            DocMeta.setdocmeta!(SWCForecast, :DocTestSetup, :(using SWCForecast); recursive=true)
            doctest(SWCForecast)'

About

A simple composit action that add local/personal registry to your julia environment.

Resources

Stars

Watchers

Forks

Packages

No packages published