Skip to content

Commit c3f8cf0

Browse files
committed
GH Actions: Update workflows actions/checkout@v3
1 parent f5bd1ad commit c3f8cf0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/prepare.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
name: Prepare release
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Get current version
1616
run: |
1717
CURRENT_VERSION=$(yq '.version' pubspec.yaml)
1818
echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
repository: pusher/public_actions
2222
token: ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
@@ -28,7 +28,7 @@ jobs:
2828
- name: Push
2929
shell: bash
3030
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
3232
git add pubspec.yaml CHANGELOG.md
3333
git commit -m "Bump to version ${{ steps.bump.outputs.new_version }}"
3434
git push

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout code
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
with:
1414
fetch-depth: 0
1515

@@ -37,7 +37,7 @@ jobs:
3737
needs: check-release-tag
3838
if: ${{ needs.check-release-tag.outputs.tag }}
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v3
4141
- name: 'publish pusher-channels-flutter package'
4242
id: publish
4343
uses: k-paxian/dart-package-publisher@master
@@ -54,7 +54,7 @@ jobs:
5454
needs: publish
5555
if: ${{ needs.check-release-tag.outputs.tag }}
5656
steps:
57-
- uses: actions/checkout@v2
57+
- uses: actions/checkout@v3
5858
- name: Prepare tag
5959
run: |
6060
export TAG=v$(yq '.version' pubspec.yaml)

0 commit comments

Comments
 (0)