-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add v2 folder and workflow for data fetching and building application
- Loading branch information
1 parent
da0ea31
commit fce6c63
Showing
1 changed file
with
30 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: data | ||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: {} | ||
push: | ||
paths: | ||
- .github/workflows/flat.yml | ||
jobs: | ||
scheduled: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup deno | ||
uses: denoland/setup-deno@main | ||
with: | ||
deno-version: v1.x | ||
- name: Check out repo | ||
uses: actions/checkout@v2 | ||
- name: Fetch data | ||
uses: githubocto/flat@v3 | ||
with: | ||
http_url: https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml | ||
downloaded_filename: v2/cmd/list_one.xml | ||
# Build the libraries. | ||
- name: build application | ||
run: cd v2 && make build | ||
- name: Git Auto Commit | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: apply automatic changes |