dagger / dagger-for-github

GitHub Action for Dagger
https://github.com/marketplace/actions/dagger-for-github
Apache License 2.0
120 stars 25 forks source link

`The save-state command is deprecated` warnings #76

Closed fbdtemme closed 1 year ago

fbdtemme commented 1 year ago

What is the issue?

We started receiving deprecation warnings related to the use of save-state command.

Log output

> Run dagger/dagger-for-github@v3
  with:
    cmds: do build

    version: latest
    workdir: .
    install-only: false
    cleanup: true
  env:
    DAGGER_LOG_FORMAT: plain
    DAGGER_CACHE_BASE: dagger-ci-build
    DAGGER_CACHE_TO: type=gha,mode=max,scope=dagger-ci-build-245
    DAGGER_CACHE_FROM: type=gha,scope=dagger-ci-build-dev type=gha,scope=dagger-ci-build-245
Warning: The `save-state` 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/
> Download and install Dagger
  Downloading https://dl.dagger.io/dagger/releases/0.2.36/dagger_v0.2.36_linux_amd64.tar.gz
  Extracting Dagger
  /usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/a762fb16-00f2-4c49-a05c-5fefeb38bc53 -f /home/runner/work/_temp/a7863c53-325e-4e39-9601-af41b7eb7b0f
Warning: The `save-state` 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/

Steps to reproduce

Run any workflow...

Dagger version

dagger 0.2.36 (linux/amd64)

OS version

Ubuntu 20.04.5 LTS

crazy-max commented 1 year ago

This is fixed by https://github.com/dagger/dagger-for-github/pull/73 but not yet released. Will create one asap.