Skip to content

Commit

Permalink
fix deprecated warning (#4)
Browse files Browse the repository at this point in the history
* fix deprecated warning
  • Loading branch information
Claude-GP authored Mar 13, 2023
1 parent a50dd50 commit a5929ae
Show file tree
Hide file tree
Showing 7 changed files with 2,055 additions and 62 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: "main"

Expand All @@ -21,7 +21,7 @@ jobs:
id: ref
run: |
TAG=${REF#"$PREFIX"}
echo "::set-output name=tag::$TAG"
echo "tag=$TAG" >> $GITHUB_OUTPUT
env:
REF: ${{ github.ref }}
PREFIX: "refs/tags/"
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"

- name: Install dependencies
run: yarn install
Expand All @@ -25,7 +30,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install dependencies
run: yarn install
Expand All @@ -38,7 +43,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install dependencies
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"typescript": "^4.0.3"
},
"dependencies": {
"@actions/core": "^1.2.6",
"@actions/core": "^1.10.0",
"@actions/github": "^4.0.0",
"@octokit/rest": "^18.0.9",
"request": "^2.88.2"
Expand Down
4 changes: 2 additions & 2 deletions ping-slack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Ping Slack
uses: agendrix/slack-notifier/[email protected]
Expand All @@ -45,7 +45,7 @@ jobs:
needs: [build, deploy]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- if: ${{ !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled') }}
name: Ping Slack for success
Expand Down
2 changes: 1 addition & 1 deletion ping-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ inputs:
This gives a list of changelogs in the Slack message.
required: false
runs:
using: node12
using: node16
main: dist/index.js
Loading

0 comments on commit a5929ae

Please sign in to comment.