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

Added ability to write to file #3

Merged
merged 3 commits into from
Apr 17, 2023
Merged

Added ability to write to file #3

merged 3 commits into from
Apr 17, 2023

Conversation

Bullrich
Copy link
Contributor

Added the ability to write the output of data to a file. It happens that if the output is too long GitHub Actions can not properly handle it and crashes.

In my case it is failing when calling the following code with the error Argument list too long

      - name: Write repo data
        run: echo "$DATA" > "$FILE"
        env:
          DATA: ${{ steps.pr.outputs.data }}
          FILE: outputs/${{ matrix.repo }}.json

This is after running on Polkadot which has more than a 100 PRs and produce a very big file.

Must be merged after #2

@Bullrich Bullrich self-assigned this Apr 17, 2023
@Bullrich Bullrich requested a review from a team as a code owner April 17, 2023 11:53
@Bullrich Bullrich enabled auto-merge (squash) April 17, 2023 12:02
@Bullrich Bullrich merged commit 0d21577 into main Apr 17, 2023
@Bullrich Bullrich deleted the bullrich/output-file branch April 17, 2023 12:03
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