Skip to content

Commit

Permalink
Merge pull request #393 from JuliaPlots/plotly2
Browse files Browse the repository at this point in the history
update to plotly 2.x!
  • Loading branch information
sglyon authored Jul 16, 2021
2 parents 3d58692 + e47fe85 commit 4fba243
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 64 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name: Artifacts

# Controls when the action will run.
# Controls when the action will run.
on:
# Allows you to run this workflow manually from the Actions tab, do not run automatically
workflow_dispatch:
Expand All @@ -14,39 +14,39 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# The plotly version. Bumping this environment variable should do the trick
env:
PLOTLY_VER: 1.58.4
env:
PLOTLY_VER: 2.2.1

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: "Checkout"
uses: actions/checkout@v2
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

- name: "Set up Julia"
uses: julia-actions/setup-julia@v1
with:
version: 1.6.0

- name: "Get artifact"
run: |
cd $GITHUB_WORKSPACE
julia -e 'include(joinpath(pwd(),"deps","generate_artifacts.jl")); generate_artifacts("'"$PLOTLY_VER"'","'"$GITHUB_SERVER_URL/$GITHUB_REPOSITORY"'")'
- name: "Commit updated Artifacts.toml"
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Update Artifacts.toml for artifact version $PLOTLY_VER" "Artifacts.toml"
- name: "Push changes"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

- name: "Release"
uses: ncipollo/release-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ assets/node_modules/
assets/package-lock.json
deps/build.log
Manifest.toml
.DS_Store
6 changes: 2 additions & 4 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const _pkg_root = dirname(dirname(@__FILE__))
const _pkg_deps = joinpath(_pkg_root,"deps")
const _pkg_assets = joinpath(_pkg_root,"assets")
const _pkg_deps = joinpath(_pkg_root, "deps")
const _pkg_assets = joinpath(_pkg_root, "assets")

!isdir(_pkg_assets) && mkdir(_pkg_assets)

include("make_schema_docs.jl")
include("find_attr_groups.jl")
AttrGroups.main()
51 changes: 0 additions & 51 deletions deps/find_attr_groups.jl

This file was deleted.

0 comments on commit 4fba243

Please sign in to comment.