Github Actions debug #4
Workflow file for this run
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
name: Funnel Use Workflow | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
use-funnel: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: List available artifacts | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const artifacts = await github.rest.actions.listArtifactsForRepo({ | |
owner: context.repo.owner, | |
repo: context.repo.repo | |
}); | |
console.log(artifacts); | |
- uses: actions/download-artifact@v3 | |
with: | |
name: funnelBin | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Use Funnel binary | |
run: | | |
echo "Using cached Funnel binary" | |
chmod +x ./funnel | |
./funnel version | |