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

Problem with GitHub Actions that used to run fine #22

Open
JustinGOSSES opened this issue Jun 13, 2022 · 0 comments
Open

Problem with GitHub Actions that used to run fine #22

JustinGOSSES opened this issue Jun 13, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@JustinGOSSES
Copy link
Owner

Describe the bug
GitHub Actions fails but hard to tell exactly where or what. Gives non-descript error below

To Reproduce
Steps to reproduce the behavior:

  1. Go tot Actions.
  2. Click on the python action.
  3. Click button on right to trigger workflow manually.
  4. Go back to main actions tab and click on running action to expect messages as it runs.

Expected behavior
It used to run fine, so something happened with validation on GitHub side or on side of one of the actions I'm bringing in.

See below from GitHub Actions RUN BUILD STEP :

Run export GITHUB_API_TOKEN=***
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages (22.1.2)
Requirement already satisfied: virtualenv in /opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages ([20](https://github.com/JustinGOSSES/awsome-list-visual-explorer-template/runs/6855118584?check_suite_focus=true#step:7:21).14.1)
Requirement already satisfied: platformdirs<3,>=2 in /opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages (from virtualenv) (2.5.2)
Requirement already satisfied: six<2,>=1.9.0 in /opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages (from virtualenv) (1.16.0)
Requirement already satisfied: filelock<4,>=3.2 in /opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages (from virtualenv) (3.7.1)
Requirement already satisfied: distlib<1,>=0.3.1 in /opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages (from virtualenv) (0.3.4)
created virtual environment CPython3.10.4.final.0-64 in 208ms
  creator CPython3Posix(dest=/home/runner/work/awsome-list-visual-explorer-template/awsome-list-visual-explorer-template/_explore/scripts/venv, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/runner/.local/share/virtualenv)
    added seed packages: Deprecated==1.2.13, PyYAML==6.0, certifi==2022.5.18.1, cffi==1.15.0, charset_normalizer==2.0.12, cryptography==37.0.2, decorator==5.1.1, github3.py==1.2.0, idna==3.3, in_place==0.5.0, isodate==0.6.1, jwcrypto==1.3.1, llnl_scraper==0.10.0, msrest==0.6.[21](https://github.com/JustinGOSSES/awsome-list-visual-explorer-template/runs/6855118584?check_suite_focus=true#step:7:22), oauthlib==3.2.0, pip==[22](https://github.com/JustinGOSSES/awsome-list-visual-explorer-template/runs/6855118584?check_suite_focus=true#step:7:23).0.4, pycparser==2.21, python_dateutil==2.8.2, python_gitlab==3.5.0, pytz==2022.1, requests==2.28.0, requests_oauthlib==1.3.1, requests_toolbelt==0.9.1, setuptools==62.1.0, six==1.16.0, stashy==0.7, uritemplate==4.1.1, urllib3==1.26.9, vsts==0.1.[25](https://github.com/JustinGOSSES/awsome-list-visual-explorer-template/runs/6855118584?check_suite_focus=true#step:7:26), wheel==0.37.1, wrapt==1.14.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
/home/runner/work/_temp/d4b09b2d-a014-4965-ac68-e740036c73e7.sh: line 13: syntax error: unexpected end of file
Error: Process completed with exit code 2.

IN the update.yml the problem seems to be somewhere in this part:

- name: Run grabNewRepos Script
      run: |
        cd _explore/scripts/
        if [ -f grabNewRepos.sh ]; then bash grabNewRepos.sh;
        cd ../../
        fi
    - name: Run BUILD script
      run: |
        export GITHUB_API_TOKEN=${{ secrets.GITHUB_TOKEN }}
        python -m pip install --upgrade pip
        pip install virtualenv
        cd _explore/scripts/
        virtualenv -p python3 venv
        source venv/bin/activate
        if [ -f requirements.txt ]; then pip install -r requirements.txt; 
        cd ../../
        cd _explore/scripts/
        if [ -f BUILD.sh ]; then bash BUILD.sh;
        cd ../../
        fi
        
        ```
@JustinGOSSES JustinGOSSES added the bug Something isn't working label Jun 13, 2022
@JustinGOSSES JustinGOSSES self-assigned this Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant