#Modules not being loaded when using GHA

1 messages · Page 1 of 1 (latest)

ebon perch
#

I would like to trigger a Dagger module using GitHub Actions. I am triggering this module to run every X days

This module references other dagger modules I installed. The problem is when I run my action, I get an error:

29 json_resp = await dag.fetch_spreadsheet_data().fetch_data(apiKey, sheet) 30 ^^^^^^^^^^^^^^^^^^^^^^^^^^ 31

AttributeError: 'Client' object has no attribute 'fetch_spreadsheet_data'

I assume this means the methods in my dagger.json are not being loaded when I use GHA?

Relevant code:
GHA: https://github.com/EmmS21/financialadvisor/blob/main/.github/workflows/run-dagger-pipeline-manual.yml
Method: https://github.com/EmmS21/financialadvisor/blob/main/dagger/src/main/__init__.py

GitHub

A Dagger pipeline running multiple dagger methods extracting, storing and analyzing bank transactions to send SMS's with AI generated budgeting advice - EmmS21/financialadvisor

GitHub

A Dagger pipeline running multiple dagger methods extracting, storing and analyzing bank transactions to send SMS's with AI generated budgeting advice - EmmS21/financialadvisor