use precompiled jq
This commit is contained in:
		| @@ -8,7 +8,7 @@ on: | |||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   build-and-push: |   build-and-push: | ||||||
|     runs-on: ubuntu-latest |     runs-on: docker://ubuntu:latest | ||||||
|     steps: |     steps: | ||||||
|       # Checkout the repository |       # Checkout the repository | ||||||
|       - name: Checkout |       - name: Checkout | ||||||
| @@ -16,9 +16,18 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           fetch-depth: 0 # Fetch full history for commit |           fetch-depth: 0 # Fetch full history for commit | ||||||
|  |  | ||||||
|  |       # Set up workspace | ||||||
|  |       - name: Set up workspace | ||||||
|  |         run: | | ||||||
|  |           mkdir -p $HOME/bin | ||||||
|  |           echo "$HOME/bin" >> $GITHUB_PATH | ||||||
|  |  | ||||||
|       # Install jq for JSON parsing |       # Install jq for JSON parsing | ||||||
|       - name: Install jq |       - name: Install jq | ||||||
|         run: sudo apt-get update && sudo apt-get install -y jq |         run: | | ||||||
|  |           curl -L -o $HOME/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 | ||||||
|  |           chmod +x $HOME/bin/jq | ||||||
|  |           jq --version | ||||||
|  |  | ||||||
|       # Get latest Dogecoin version |       # Get latest Dogecoin version | ||||||
|       - name: Get latest Dogecoin version |       - name: Get latest Dogecoin version | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user