clowdhaus / argo-cd-action

GitHub action for executing Argo CD 🦑
Apache License 2.0
77 stars 14 forks source link

The `set-output` command is deprecated and will be disabled soon. #16

Closed olemathias closed 2 years ago

olemathias commented 2 years ago

Describe the bug The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files.

To Reproduce

- name: Login to ArgoCD
   uses: clowdhaus/argo-cd-action/@main
   with:
     version: ${{ env.ARGOCD_VERSION }}
     command: login
     options: >-
       ${{ secrets.ARGOCD_URL }}
        --username ${{ secrets.ARGOCD_USERNAME }}
        --password ${{ secrets.ARGOCD_PASSWORD }}
        --grpc-web

It seems to be https://github.com/clowdhaus/argo-cd-action/blob/4cdf8750a0e6648740204ac6922b6d4d18e88c37/src/index.ts#L21

Expected behavior No warnings when using the action

Additional context https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

https://github.com/actions/toolkit/issues/1218 https://github.com/actions/toolkit/pull/1178

bryantbiggs commented 2 years ago

:tada: This issue has been resolved in version 1.15.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: