We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d43c7 commit b549b72Copy full SHA for b549b72
.github/workflows/publish.yml
@@ -1,10 +1,11 @@
1
name: publish
2
3
on:
4
- push:
+ pull_request:
5
+ types: [closed]
6
branches:
7
- master
-
8
+
9
jobs:
10
publish:
11
timeout-minutes: 4
@@ -28,7 +29,7 @@ jobs:
28
29
id: pubspec
30
run: |
31
set +e
- git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | grep '${{ matrix.package }}/pubspec.yaml'
32
+ git diff-tree --no-commit-id --name-only -r HEAD~1 ${{ github.sha }} | grep '${{ matrix.package }}/pubspec.yaml'
33
echo ::set-output name=changed::$?
34
set -e
35
- name: Extract package version
0 commit comments