File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
11
11
name : Prepare release
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
- name : Get current version
16
16
run : |
17
17
CURRENT_VERSION=$(yq '.version' pubspec.yaml)
18
18
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
19
- - uses : actions/checkout@v2
19
+ - uses : actions/checkout@v3
20
20
with :
21
21
repository : pusher/public_actions
22
22
token : ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
28
28
- name : Push
29
29
shell : bash
30
30
run : |
31
- echo "$(yq '.version = "${{ steps.bump.outputs.new_version }}"' pubspec.yaml)" > pubspec.yaml
31
+ echo "$(yq '.version = "${{ steps.bump.outputs.new_version }}"' pubspec.yaml)" > pubspec.yaml
32
32
git add pubspec.yaml CHANGELOG.md
33
33
git commit -m "Bump to version ${{ steps.bump.outputs.new_version }}"
34
34
git push
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout code
12
- uses : actions/checkout@v2
12
+ uses : actions/checkout@v3
13
13
with :
14
14
fetch-depth : 0
15
15
37
37
needs : check-release-tag
38
38
if : ${{ needs.check-release-tag.outputs.tag }}
39
39
steps :
40
- - uses : actions/checkout@v2
40
+ - uses : actions/checkout@v3
41
41
- name : ' publish pusher-channels-flutter package'
42
42
id : publish
43
43
uses : k-paxian/dart-package-publisher@master
54
54
needs : publish
55
55
if : ${{ needs.check-release-tag.outputs.tag }}
56
56
steps :
57
- - uses : actions/checkout@v2
57
+ - uses : actions/checkout@v3
58
58
- name : Prepare tag
59
59
run : |
60
60
export TAG=v$(yq '.version' pubspec.yaml)
You can’t perform that action at this time.
0 commit comments