diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-11-29 21:28:49 +0100 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-11-30 11:19:22 +0100 |
| commit | ab808e84951e96dd8254da2bb12af803619d48a6 (patch) | |
| tree | abb3b6992f2c914e2997699c15304e864c1e653d /.github | |
| parent | Pretty print lockfile.json (diff) | |
| download | nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.tar nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.tar.gz nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.tar.bz2 nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.tar.lz nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.tar.xz nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.tar.zst nvim-treesitter-ab808e84951e96dd8254da2bb12af803619d48a6.zip | |
Fixup jq
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/update-parsers-pr.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/update-parsers-pr.yml b/.github/workflows/update-parsers-pr.yml index 97d48f767..9a996c3c3 100644 --- a/.github/workflows/update-parsers-pr.yml +++ b/.github/workflows/update-parsers-pr.yml @@ -12,13 +12,15 @@ jobs: steps: - uses: actions/checkout@v2 with: - fetch-depth: 0 + ref: master - name: Prepare run: | sudo apt-get update sudo add-apt-repository universe - sudo apt-get install -y jq + wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 + mv ./jq-linux64 /tmp/jq + chmod +x /tmp/jq wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage chmod u+x nvim.appimage mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start @@ -29,7 +31,7 @@ jobs: ./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q" # Pretty print cp lockfile.json /tmp/lockfile.json - cat /tmp/lockfile.json | jq --sort-keys > lockfile.json + cat /tmp/lockfile.json | /tmp/jq --sort-keys > lockfile.json - name: Create Pull Request uses: peter-evans/create-pull-request@v3 @@ -37,3 +39,4 @@ jobs: commit-message: Update lockfile.json title: Update lockfile.json branch: update-lockfile-pr + base: ${{ github.head_ref }} |
