-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(repo): swap to artifacts rather than cache for issues data (nrw…
- Loading branch information
1 parent
4e2b07e
commit 117868c
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,18 +37,22 @@ jobs: | |
- name: Install packages | ||
run: yarn install --prefer-offline --frozen-lockfile --non-interactive | ||
|
||
- name: Retrieve Previous Results | ||
uses: actions/cache@v3 | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
path: scripts/issues-scraper/data.json | ||
key: 'always-hit' | ||
name: cached-issue-data | ||
path: ./scripts/isses-scraper/cached | ||
|
||
- name: Collect Issue Data | ||
id: collect | ||
run: npx ts-node ./scripts/issues-scraper/index.ts | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: cached-issue-data | ||
path: ./scripts/issues-scraper/cached/data.json | ||
|
||
- name: Send GitHub Action trigger data to Slack workflow | ||
id: slack | ||
uses: slackapi/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters