← Back to issue list

ci: remove deprecated save-state and set-output commands

View original Github issue

Metadata

Project
charmcraft
Number
#2790
Type
pull request
State
closed
Author
Copilot
Labels
Created
Updated
Closed

Current evaluation

Merged to remove deprecated GitHub Actions set-output and save-state commands and fix an unquoted GITHUB_OUTPUT variable in tests.yaml, ensuring compliance with current CI standards.

Suggested action:

No scores available.

Issue body

GitHub deprecated the `::set-output` and `::save-state` workflow commands in October 2022 in favour of writing to `$GITHUB_OUTPUT` and `$GITHUB_STATE` respectively. ## Changes - The deprecated `::set-output` commands had already been removed from `spread.yaml` in a prior commit; this PR closes out the remaining gap - Fixed an unquoted `$GITHUB_OUTPUT` in `tests.yaml` (shellcheck SC2086), making it consistent with all other workflow files: ```yaml # Before echo "snap=$(find . -type f -name '*.snap')" >> $GITHUB_OUTPUT # After echo "snap=$(find . -type f -name '*.snap')" >> "$GITHUB_OUTPUT" ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to remove deprecated GitHub Actions set-output and save-state commands and fix an unquoted GITHUB_OUTPUT variable in tests.yaml, ensuring compliance with current CI standards.
qwen3.6-35b-a3b-mtp-q6 Merged changes to remove deprecated GitHub Actions set-output and save-state commands from CI workflows. Fixed an unquoted GITHUB_OUTPUT variable in tests.yaml to comply with shellcheck and align with updated workflow standards.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.