Skip to content

Commit 1ae6481

Browse files
Merge pull request #167 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents 75526a3 + 0323a12 commit 1ae6481

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ jobs:
1919
- name: Get Yarn Cache Directory
2020
id: yarn-cache
2121
run: echo "::set-output name=dir::$(yarn cache dir)"
22-
if: github.event_name != 'repository_dispatch'
2322
- name: Cache node dependencies
2423
uses: actions/cache@v1
2524
with:
2625
path: ${{ steps.yarn-cache.outputs.dir }}
2726
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
2827
restore-keys: |
2928
${{ runner.os }}-yarn-
30-
if: github.event_name != 'repository_dispatch'
3129
- name: Install Package dependencies
3230
run: yarn install
3331
- name: Test
@@ -116,15 +114,13 @@ jobs:
116114
- name: Get Yarn Cache Directory
117115
id: yarn-cache
118116
run: echo "::set-output name=dir::$(yarn cache dir)"
119-
if: github.event_name != 'repository_dispatch'
120117
- name: Cache node dependencies
121118
uses: actions/cache@v1
122119
with:
123120
path: ${{ steps.yarn-cache.outputs.dir }}
124121
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
125122
restore-keys: |
126123
${{ runner.os }}-yarn-
127-
if: github.event_name != 'repository_dispatch'
128124
- name: Install Package dependencies
129125
run: yarn install
130126
- name: Build
@@ -174,7 +170,7 @@ jobs:
174170
- name: Build
175171
run: yarn build
176172
- name: Upload
177-
uses: technote-fork/action-gh-release@v1
173+
uses: technote-space/action-gh-release@v2
178174
with:
179175
files: build/index.js
180176
draft: true

.github/workflows/update-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
schedule:
3-
- cron: 0 17 * * 5
3+
- cron: 0 3 * * 6
44
pull_request:
55
types: [opened, synchronize, reopened, closed]
66
repository_dispatch:

0 commit comments

Comments
 (0)