We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9db1c0 commit 0eb2d25Copy full SHA for 0eb2d25
.github/tools/fetch_athena_stats.sh
.github/workflows/arduino-stats.yaml
@@ -18,6 +18,10 @@ jobs:
18
- name: Checkout
19
uses: actions/checkout@v2
20
21
+ - uses: actions/setup-python@v2
22
+ with:
23
+ python-version: '3.x'
24
+
25
- name: Fetch downloads count form Arduino CDN using AWS Athena
26
id: fetch
27
env:
@@ -27,11 +31,8 @@ jobs:
31
AWS_ATHENA_OUTPUT_LOCATION: ${{ secrets.STATS_AWS_ATHENA_OUTPUT_LOCATION }}
28
32
GITHUB_REPOSITORY: ${{ github.repository }}
29
33
run: |
30
- # Fetch jq 1.6 as VM has only 1.5 ATM
- wget -q https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O jq
- chmod +x jq
- PATH="${{ github.workspace }}:$PATH"
34
- .github/tools/fetch_athena_stats.sh
+ pip install boto3 semver
35
+ python .github/tools/fetch_athena_stats.py
36
37
- name: Send metrics
38
uses: masci/datadog@v1
0 commit comments