Skip to content

Commit 57cbd4f

Browse files
moromimayMayara Moromisato
authored andcommitted
Change trigger for pipeline staging (#287)
* Change trigger to publish dev pipeline. * Some fix.
1 parent 5928aed commit 57cbd4f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/staging.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: "Publish Dev Package"
22
on:
33
push:
4-
branches:
5-
- staging
4+
paths:
5+
- 'setup.py'
66

77

88
jobs:
@@ -19,12 +19,10 @@ jobs:
1919
run: make ci-install
2020

2121
- name: Get version
22-
run: echo "version=$(grep __version__ setup.py | head -1 | cut -d \" -f2 | cut -d \' -f2 ).dev$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
22+
run: echo "version=$(grep __version__ setup.py | head -1 | cut -d \" -f2 | cut -d \' -f2 )" >> $GITHUB_ENV
2323

2424
- name: Build package
25-
run: |
26-
make change-version NEW_VERSION="${{ env.version }}"
27-
make package
25+
run: make package
2826

2927
- name: Create release
3028
uses: actions/create-release@v1

0 commit comments

Comments
 (0)