Skip to content

Commit 7bde382

Browse files
author
Akash Satheesan
committedApr 16, 2021
chore(ci): update publish workflow
1 parent 7014850 commit 7bde382

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed
 

‎.github/workflows/publish.yaml

+10-8
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,28 @@ on:
99
types: [published]
1010

1111
jobs:
12+
# NOTE: this job requires curl, jq and yarn
13+
# All of them are included in ubuntu-latest.
1214
npm:
1315
runs-on: ubuntu-latest
1416
steps:
15-
- uses: actions/checkout@v1
17+
- uses: actions/checkout@v2
18+
1619
- name: Run ./ci/steps/publish-npm.sh
17-
uses: ./ci/images/debian10
18-
with:
19-
args: ./ci/steps/publish-npm.sh
20+
run: ./ci/steps/publish-npm.sh
2021
env:
2122
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2223
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2324

25+
# NOTE: this job requires curl, jq and docker
26+
# All of them are included in ubuntu-latest.
2427
docker:
2528
runs-on: ubuntu-latest
2629
steps:
27-
- uses: actions/checkout@v1
30+
- uses: actions/checkout@v2
31+
2832
- name: Run ./ci/steps/push-docker-manifest.sh
29-
uses: ./ci/images/debian10
30-
with:
31-
args: ./ci/steps/push-docker-manifest.sh
33+
run: ./ci/steps/push-docker-manifest.sh
3234
env:
3335
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3436
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}

0 commit comments

Comments
 (0)