-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Node version of runner on self-hosted Docker install #41
Labels
bug
Something isn't working
Comments
Hi, I'm sorry, I'm not using actionsflow anymore, I'm scared of actionsflow upgrades, I think you can downgrade scripts action to v3 for now, that should be a usable version, thanks! # on:
# email:
# imap:
# host: imap.fastmail.com
# port: 993
# user: ${{secrets.EMAIL_USER}}
# password: ${{secrets.EMAIL_PASSWORD}}
on:
script:
path: ./workflows/test-data/email-to-ynab.js
jobs:
email-to-ynab:
name: Email to YNAB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # checkout to get the local actions I created
#- uses: actionsflow/setup-act-for-actionsflow@v1 # to install latest act version
# This is the action where the error occurs. However, if I try to use *any* action
# that is setup to run using node16, the same error will occur. This action is easy to test with.
- name: Get data from trigger
uses: actions/github-script@v3
id: data
env:
TRIGGER_EMAIL_DATA: ${{ on.email }}
TRIGGER_TEST_DATA: ${{ on.script }}
with:
# Script has not been tested yet. It might not work. Error occurs before script can even execute.
script: |
const triggerData = process.env.TRIGGER_EMAIL_DATA || process.env.TRIGGER_TEST_DATA
core.setOutput('data', triggerData.outputs) |
Rabenherz112
added a commit
to Rabenherz112/awesome-selfhosted
that referenced
this issue
Aug 20, 2023
- The most recent commit occurred [more than a year ago](actionsflow/actionsflow@06edc40). - The main maintainer has mentioned in a [comment](actionsflow/actionsflow#41 (comment)) that they no longer utilize the software. - The software has dependencies that are now outdated.
nodiscc
pushed a commit
to awesome-selfhosted/awesome-selfhosted
that referenced
this issue
Aug 22, 2023
- The most recent commit occurred [more than a year ago](actionsflow/actionsflow@06edc40). - The main maintainer has mentioned in a [comment](actionsflow/actionsflow#41 (comment)) that they no longer utilize the software. - The software has dependencies that are now outdated.
LuisAlejandro
added a commit
to LuisAlejandro/frontdesk
that referenced
this issue
Sep 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I am setting up a workflow to run via self-hosted Docker install. I have created a workflow and am able to execute it successfully but am getting an error saying a GitHub Action step needs to use node12 but the action is setup to use node16.
Is the github actions runner code out-of-date? I know github actions supports node16? What package needs to be updated in order to support node16 actions in self-hosted install?
Steps to reproduce
When you execute the script, you will find the error I am describing:
The error message makes me think that we are using an old version of
act
as the github actions runner inact
is probably too old and does not support node16? But I am executingactionsflow/setup-act-for-actionsflow@v1
in my workflow to install the latest version0.2.25
and still get the error.Here is my full actionsflow workflow:
The script trigger file
./workflows/test-data/email-to-ynab.js
is:Expected result
My workflow can execute github actions that run using node16.
Actual result
My workflow only supports running github actions that run on node12 at the highest.
The text was updated successfully, but these errors were encountered: