Skip to content

Commit

Permalink
ci: fix env.
Browse files Browse the repository at this point in the history
  • Loading branch information
cangzhang committed Oct 9, 2022
1 parent bfc2e0e commit 2eb4c94
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/data-sources.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🐶 Release Build
name: 🐳 Data Sources

on:
push:
Expand All @@ -9,7 +9,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- uses: actions/setup-node@v2
Expand All @@ -21,7 +21,7 @@ jobs:
GH_TOKEN: ${{ secrets.GH_DOWNLOAD_TOKEN }}
run: |
release_name=$(gh api -H "Accept: application/vnd.github+json" /repos/cangzhang/data-maker/releases/latest --jq ".name")
gh release download v1.6.11 -R cangzhang/data-maker -p "*-linux*"
chmod +x data-maker-linux-amd64
data-maker-linux-amd64 -v
gh release download v1.6.11 -R cangzhang/data-maker -p "*-linux*" -D bin
cd bin && chmod +x data-maker-linux-amd64
/data-maker-linux-amd64 -v

0 comments on commit 2eb4c94

Please sign in to comment.