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

Add fallbackToDownoadAction #192

Merged
merged 3 commits into from
Oct 2, 2022
Merged

Add fallbackToDownoadAction #192

merged 3 commits into from
Oct 2, 2022

Conversation

leshikus
Copy link
Contributor

@leshikus leshikus commented Sep 28, 2022

Hello Dawid,
This is PR for #173
The only notable changes are in main.js, a behavior changes if workflow_conclusion is 'in_progress' or empty
It has some limitations, e.g. no control over unpacking, search_artifacts is ignored when checking the current build
This is my first attempt in modern js, feel free outline if there are any style errors or other errors

main.js Outdated Show resolved Hide resolved
main.js Outdated Show resolved Hide resolved
@leshikus leshikus requested a review from dawidd6 September 28, 2022 23:35
@leshikus
Copy link
Contributor Author

Dawid, if I misread the meaning of check_artifacts just let me know; i will create another flag, or another flag value for that

@dawidd6
Copy link
Owner

dawidd6 commented Sep 30, 2022

Another input would be much nicer.

@leshikus
Copy link
Contributor Author

leshikus commented Oct 2, 2022

Hey Dawid, I've simplified PR to be a "fallback only". I've also removed one of three tests. check_artifacts is no longer altered. Could you please take a look? @dawidd6

@dawidd6 dawidd6 merged commit 2ccc909 into dawidd6:master Oct 2, 2022
@dawidd6
Copy link
Owner

dawidd6 commented Oct 2, 2022

Thanks, additionally made some cosmetical changes only.

@dawidd6
Copy link
Owner

dawidd6 commented Oct 3, 2022

This change broke CI on master: https://github.com/dawidd6/action-download-artifact/actions/runs/3170303976

Reverting...

dawidd6 added a commit that referenced this pull request Oct 3, 2022
@dawidd6
Copy link
Owner

dawidd6 commented Oct 3, 2022

...and it remains broken after reverting, interesting.

dawidd6 added a commit that referenced this pull request Oct 3, 2022
@dawidd6
Copy link
Owner

dawidd6 commented Oct 3, 2022

Actually something else broke, reverted second time, so it stays merged 😄

@leshikus leshikus deleted the in_progress branch October 3, 2022 18:40
@leshikus
Copy link
Contributor Author

leshikus commented Oct 3, 2022

@dawidd6 thank you for merging and for the great and very useful action

dawidd6 added a commit that referenced this pull request Oct 15, 2022
* Add fallback to downloadAction

* Fix review comments

* Update main.js

Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
dawidd6 added a commit that referenced this pull request Oct 15, 2022
dawidd6 added a commit that referenced this pull request Oct 15, 2022
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

Successfully merging this pull request may close these issues.

2 participants