From 9ec6ce5cc3c770ff69092fc9182de0a4f80113b6 Mon Sep 17 00:00:00 2001 From: technote-space Date: Sat, 25 Jan 2020 18:38:27 +0000 Subject: [PATCH 1/2] chore: sync workflows --- .github/workflows/release.yml | 6 +----- .github/workflows/update-dependencies.yml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00159ab..c44c84a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,6 @@ jobs: - name: Get Yarn Cache Directory id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - if: github.event_name != 'repository_dispatch' - name: Cache node dependencies uses: actions/cache@v1 with: @@ -27,7 +26,6 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - if: github.event_name != 'repository_dispatch' - name: Install Package dependencies run: yarn install - name: Test @@ -116,7 +114,6 @@ jobs: - name: Get Yarn Cache Directory id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - if: github.event_name != 'repository_dispatch' - name: Cache node dependencies uses: actions/cache@v1 with: @@ -124,7 +121,6 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - if: github.event_name != 'repository_dispatch' - name: Install Package dependencies run: yarn install - name: Build @@ -174,7 +170,7 @@ jobs: - name: Build run: yarn build - name: Upload - uses: technote-fork/action-gh-release@v1 + uses: technote-space/action-gh-release@v2 with: files: build/index.js draft: true diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index bcb0510..e9f6116 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -1,6 +1,6 @@ on: schedule: - - cron: 0 17 * * 5 + - cron: 0 3 * * 6 pull_request: types: [opened, synchronize, reopened, closed] repository_dispatch: From 0323a12b7578ad42250b0b8383c06f11a0cb3edd Mon Sep 17 00:00:00 2001 From: technote-space Date: Sat, 25 Jan 2020 18:38:31 +0000 Subject: [PATCH 2/2] chore: trigger workflow