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 cleanup step to publish workflow #434

Merged

Conversation

techouse
Copy link
Collaborator

@techouse techouse commented May 27, 2023

To keep the credentials safe, I added a cleanup step that deletes the credentials file and always runs at the end of the publish workflow.

- name: Cleanup
  id: cleanup
  if: ${{ always() }}
  run: |
    rm -rf "$XDG_CONFIG_HOME/dart/pub-credentials.json"

@techouse techouse added the ci Continuous Integration label May 27, 2023
@codecov
Copy link

codecov bot commented May 27, 2023

Codecov Report

Merging #434 (a05d64b) into develop (0546452) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #434   +/-   ##
========================================
  Coverage    93.65%   93.65%           
========================================
  Files            8        8           
  Lines          441      441           
========================================
  Hits           413      413           
  Misses          28       28           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@techouse techouse merged commit d824ded into lejard-h:develop May 28, 2023
@techouse techouse deleted the chore/add-cleanup-step-to-publsih-ci branch May 28, 2023 07:55
@techouse techouse mentioned this pull request May 28, 2023
techouse added a commit that referenced this pull request May 28, 2023
# chopper

## 6.1.3

* Add follow redirects to toHttpRequest (#430)
* Update http constraint to ">=0.13.0 <2.0.0" (#431)
* Add MultipartRequest log to CurlInterceptor (#435)

---

# chopper_built_value

## 1.2.2

* Update http constraint to ">=0.13.0 <2.0.0" (#431)

---

# example

* Update squadron example (#432)

---

# Github actions

* Add cleanup step to publish workflow (#434)

---------

Co-authored-by: Joran Dob <joran998@gmail.com>
Co-authored-by: Joseph, NamKung <nkw0608@gmail.com>
Co-authored-by: Klemen Tusar <techouse@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants