Skip to content

Github Actions debug #5

Github Actions debug

Github Actions debug #5

Workflow file for this run

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