Add retry-action script
@@ -30,6 +30,11 @@ jobs:
path: './tremor-influx'
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish tremor-script to crates.io
- run: |
- cd tremor-script
- cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
\ No newline at end of file
+ uses: Wandalen/wretry.action@v1.0.11
+ with:
+ action: katyo/publish-crates@v1
+ with: |
+ path: './tremor-script'
+ registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
+ attempt_limit: 6
+ attempt_delay: 10000
\ No newline at end of file
