Skip to content

Commit a04031d

Browse files
authored
Adapt registrator workflow for package registration (#73)
* Adapt registrator workflow * adapt workflow in template * Bump version
1 parent c826475 commit a04031d

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
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.3.12"
4+
version = "0.3.13"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"

templates/github/.github/workflows/Registrator.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
name: Register Package
22
on:
33
workflow_dispatch:
4-
pull_request:
5-
types:
6-
- closed
7-
paths:
8-
- 'Project.toml'
4+
push:
95
branches:
106
- 'master'
117
- 'main'
8+
paths:
9+
- 'Project.toml'
1210

1311
permissions:
1412
contents: write
1513
pull-requests: write
1614

1715
jobs:
1816
Register:
19-
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
2017
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
2118
with:
2219
localregistry: ITensor/ITensorRegistry

0 commit comments

Comments
 (0)