Skip to content

Commit 59c8dbb

Browse files
authored
Add registrator action to template and bump version (#50)
1 parent d8715c2 commit 59c8dbb

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensorPkgSkeleton"
22
uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea"
33
authors = ["ITensor developers <support@itensor.org> and contributors"]
4-
version = "0.2.3"
4+
version = "0.2.4"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Register Package
22
on:
33
workflow_dispatch:
4-
inputs:
5-
version:
6-
description: Version to register or component to bump
7-
required: true
4+
pull_request:
5+
types:
6+
- closed
7+
paths:
8+
- 'Project.toml'
9+
branches:
10+
- 'master'
11+
- 'main'
812
jobs:
9-
register:
10-
runs-on: ubuntu-latest
11-
permissions:
12-
contents: write
13-
steps:
14-
- uses: julia-actions/RegisterAction@latest
15-
with:
16-
token: ${{ secrets.GITHUB_TOKEN }}
13+
Register:
14+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
15+
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
16+
with:
17+
localregistry: ITensor/ITensorRegistry

0 commit comments

Comments
 (0)