Skip to content

runer does not update actions if version is taken from branch #49

@igagis

Description

@igagis

I have my own composite actions used as follows:

- uses: myci-actions/add-deb-repo@master
# ...

i.e. it refers to latest master branch.

Then, if I update the action, the master points to updated action.
But the runner seems still using older (cached?) version of the action.

In the build log it prints:

  ☁  git clone 'https://github.com/myci-actions/add-deb-repo' # ref=master

but the action used is still old one.

Looks like the runner checks that ref=master did not change since last run and does not update the cached action?

Though, re-running the job makes the problem go away. So, looks like the problem happens only the first time after the action was updated. And it happens per runner, i.e. if the same job is run for the first time on another runner, it will give the error again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions