Skip to content

Commit

Permalink
🔧 update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisot committed Nov 20, 2020
1 parent 3494e61 commit 8db6cce
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: CI

on:
release:
push:
branches:
- master
Expand All @@ -18,7 +17,7 @@ jobs:
version:
- '1.3'
- '1.4'
- 'nightly'
- '1.5'
os:
- ubuntu-latest
- macOS-latest
Expand All @@ -41,19 +40,3 @@ jobs:
name: codecov-umbrella
fail_ci_if_error: false
token: ${{ secrets.CODECOV }}
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.4'
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Documentation

on:
release:
push:
branches:
- main
tags:
- '*'
pull_request:

jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.5'
- uses: julia-actions/julia-buildpkg@latest
- run: |
julia --project=docs -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()'
- run: julia --project=docs docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit 8db6cce

Please sign in to comment.