# DEPRECATED SYNTAX, on purpose. Every commented marker below was removed from the GitHub
# Actions runner; a migrator should rewrite each one to its $GITHUB_OUTPUT / $GITHUB_ENV /
# $GITHUB_PATH replacement. Kept as a fixture so that rewrite can be tested on a failing input.
name: Deprecated workflow commands

on:
  push:
    branches: [main]

jobs:
  legacy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
      - id: meta
        run: |
          echo "::set-output name=version::1.4.0"
          echo "::set-env name=BUILD_ID::4821"
          echo "::add-path::/opt/example/bin"
      - run: echo "version is ${{ steps.meta.outputs.version }}"
      - uses: actions/upload-artifact@v2
        with:
          name: dist
          path: dist/
