checkout@v2 aws s3 sync error code 255

Created on 12 Feb 2021  路  4Comments  路  Source: actions/checkout

My pipeline has randomly stopped working, it worked yesterday and now gets back error:

Run aws s3 sync ./ s3://d3plotviewer/d3plotviewer-source --exclude='node_modules/' --exclude='.git/'
aws s3 sync ./ s3://d3plotviewer/d3plotviewer-source --exclude='node_modules/' --exclude='.git/'
shell: /usr/bin/bash -e {0}
env:
AWS_ACCESS_KEY_ID: *
AWS_SECRET_ACCESS_KEY: *


Error: Process completed with exit code 255.

Pipeline is

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Test Script
run: npm install && npm run test
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Upload Dir to S3 -source
run: aws s3 sync ./ s3://d3plotviewer/d3plotviewer-source --exclude='node_modules/' --exclude='.git/'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Anything any changed recently? or anyone else having issues>?

Most helpful comment

Brilliant ubuntu-18.04 works, thank u @nabeen :)

All 4 comments

fyi, the command works locally and has been working for 5 months in the pipeline without any issues until today. No changes since it was setup....

@jcharnley
I'm having the same problem. But I think this is not a checkout@v2 problem, caused by the change of ubuntu-latest. ubuntu-latest have changed from Ubuntu 18.04 to Ubuntu 20.04.

Try using ubuntu-18.04 as a first aid!

Thanks I saw that in a note somewhere, i'll give it a try

Brilliant ubuntu-18.04 works, thank u @nabeen :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gitfool picture gitfool  路  3Comments

hannesa2 picture hannesa2  路  5Comments

nelsonjchen picture nelsonjchen  路  5Comments

lukka picture lukka  路  6Comments

rster2002 picture rster2002  路  7Comments