https://pulumi.com logo
Title
a

acceptable-forest-23292

03/09/2021, 2:24 PM
hey guys i have this step in our GH action
- name: Select Staging Stack
        uses: <docker://pulumi/actions>
        with:
          args: stack select staging
        env:
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
          PULUMI_ROOT: ${{ env.PULUMI_ROOT }}
but when i run it it returns me this error
error: no Pulumi.yaml project file found (searching upwards from /github/workspace). If you have not created a project yet, use `pulumi new` to do so
I understand that the workflow can’t find the pulumi folder but I have set the variable
env.PULUMI_ROOT
to point to where the project is
PULUMI_ROOT: apps/.pulumi
am I missing something?
i moved away from pulumi/actions and manually installed the cli and that worked
and also the action seems to have worked a few days ago, maybe some regression in there?
l

little-cartoon-10569

03/09/2021, 8:22 PM
The action code has moved from docker-based to a lighter-weight approach. Would that explain what you're seeing? https://www.pulumi.com/blog/supercharging-our-github-action-with-the-pulumi-automation-api/
a

acceptable-forest-23292

03/12/2021, 3:04 PM
yes that’s actually what was the issue, i resorted to manually calling the cli in my own action thingy