gitter-lab / SINGE

Gene regulatory network reconstruction from pseudotemporal single-cell gene expression data
MIT License
11 stars 6 forks source link

Update GitHub Actions workflow env and path commands #60

Closed agitter closed 3 years ago

agitter commented 3 years ago

GitHub deprecated the set-env and add-path commands: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

This pull request uses the more secure syntax that is now required.

agitter commented 3 years ago

One of the tests failed in the cache step with the error

Post job cleanup.
/usr/bin/tar -cz -f /Users/runner/work/_temp/a5d9ce75-96b1-4aae-8f7f-40cda906c2fd/cache.tgz -C /Users/runner/work/SINGE/SINGE/installer .
Warning: read ECONNRESET
events.js:187
      throw er; // Unhandled 'error' event
      ^

Error: ESPIPE: invalid seek, read
Emitted 'error' event on ReadStream instance at:
    at internal/fs/streams.js:167:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:5) {
  errno: -29,
  code: 'ESPIPE',
  syscall: 'read'
}

However, the other job had no issues:

Post job cleanup.
/usr/bin/tar -cz -f /Users/runner/work/_temp/6ed16ba2-570d-4f64-b5e8-a137aac97450/cache.tgz -C /Users/runner/work/SINGE/SINGE/installer .
Cache saved successfully

I'll rerun the jobs and see if they both pass.

agitter commented 3 years ago

Everything passed this time so I'm merging.