govpf/openfisca-pf

Update actions-find-and-replace-string and setOutput command

Closed this issue ยท 2 comments

Iaorana ๐Ÿ‘‹๐Ÿผ ๐ŸŒด ๐ŸŒŠ ๐Ÿ‡ต๐Ÿ‡ซ

I can't submit a PR due to authorization aspects, therefore i open an issue with the description and changes i wanted to submit ๐Ÿ˜‰

The docker-image.yml file seems to have deprecated command such as set-output
See GitHub Actions: Deprecating save-state and set-output commands

Deprecated message from actions
Screenshot from 2023-03-04 16-19-45

Here is what I did:

Upgrade the .github/workflows/docker-image.yml
line 52
uses: mad9000/actions-find-and-replace-string@3
line 99
run: echo "##[name=tag;]$(echo ${GITHUB_REF#refs/tags/} ${GITHUB_OUTPUT})"

Here is what I expected to happen:

I have tested the updated github actions and tested it locally with nektos/act

result
Screenshot from 2023-03-04 16-15-22

Hi,
Thank you !
@AlexisDefranoux and @atouboulic could you have a look ?

Ia orana Rooarii,

Thank you for submitting your issue.
It has been fixed today and merged on master : #65

Best regards !!