Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated commands in actions set-output #41

Closed
ff6347 opened this issue Oct 18, 2022 · 2 comments
Closed

Deprecated commands in actions set-output #41

ff6347 opened this issue Oct 18, 2022 · 2 comments

Comments

@ff6347
Copy link
Collaborator

ff6347 commented Oct 18, 2022

The GitHub actions commands set-output and set-state will be deprecated see this blog post --> https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This repo is using the set-output

A fix for setting the node version could be the following action step:

jobs:
  build:
    runs-on: ubuntu-latest
    steps: 
      - name: Set nvmrc version as .env variable
        run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV
            - name: Use Node.js (.nvmrc)
              uses: actions/setup-node@v3
              with:
                node-version: "${{ env.NODE_VERSION }}"
@ff6347
Copy link
Collaborator Author

ff6347 commented Mar 29, 2023

The code using this feature is located here --> https://github.com/search?q=repo%3Atechnologiestiftung%2Fgiessdenkiez-de-osm-pumpen-harvester%20set-output&type=code

@JensWinter If you want to fix this one we would be eternally grateful

@JensWinter
Copy link
Collaborator

Closed by #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants