google-github-actions / upload-cloud-storage

A GitHub Action for uploading files to a Google Cloud Storage (GCS) bucket.
https://cloud.google.com/storage
Apache License 2.0
206 stars 49 forks source link

set-output is deprecated #292

Closed AngellusMortis closed 1 year ago

AngellusMortis commented 1 year ago

TL;DR

Running the google-github-actions/upload-cloud-storage@v0 action produces the following warning:

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Link from message: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Expected behavior

Warning should not occur.

Observed behavior

No response

Action YAML

on:
  workflow_dispatch:

jobs:
  static:
    runs-on: ubuntu-latest

    steps:
    - id: 'upload-file'
      uses: 'google-github-actions/upload-cloud-storage@v0'
      with:
        path: './path/to/file'
        destination: 'bucket'

Log output

No response

Additional information

No response

bharathkkb commented 1 year ago

This should be fixed via https://github.com/google-github-actions/upload-cloud-storage/pull/293