Skip to content

Commit 018bea1

Browse files
committed
checkout repo before actions
1 parent 1bed818 commit 018bea1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/npmpublish.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@ jobs:
1818
publish-package:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- name: Checkout GitHub Actions
22-
uses: actions/checkout@v2
23-
with:
24-
repository: RapidAPI/rapidapi-github-actions
25-
ref: master
26-
token: ${{ secrets.ACTIONS_ACCESS_KEY }}
27-
path: .github/actions
28-
29-
- name: Create GitHub Release
30-
uses: ./.github/actions/create-github-release
31-
with:
32-
github_head_ref: ${{ (github.head_ref) }}
33-
github_base_ref: ${{ (github.base_ref) }}
34-
ACTIONS_ACCESS_KEY: ${{ (secrets.ACTIONS_ACCESS_KEY) }}
35-
3621
- name: Checkout Repository
3722
uses: actions/checkout@v2
3823
with:
@@ -48,6 +33,21 @@ jobs:
4833
- name: Install root dependencies
4934
run: yarn --no-progress --non-interactive --frozen-lockfile
5035

36+
- name: Checkout GitHub Actions
37+
uses: actions/checkout@v2
38+
with:
39+
repository: RapidAPI/rapidapi-github-actions
40+
ref: master
41+
token: ${{ secrets.ACTIONS_ACCESS_KEY }}
42+
path: .github/actions
43+
44+
- name: Create GitHub Release
45+
uses: ./.github/actions/create-github-release
46+
with:
47+
github_head_ref: ${{ (github.head_ref) }}
48+
github_base_ref: ${{ (github.base_ref) }}
49+
ACTIONS_ACCESS_KEY: ${{ (secrets.ACTIONS_ACCESS_KEY) }}
50+
5151
- name: Publish Package
5252
run: yarn publish
5353
env:

0 commit comments

Comments
 (0)