Bump wrangler from 2.12.3 to 3.1.1 in /install/cf-wrangler #139
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remove | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
permissions: | |
id-token: write | |
pull-requests: write | |
contents: write | |
jobs: | |
publish_docs: | |
name: Remove old script | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Authenticate to Google Cloud | |
id: gcpauth | |
uses: google-github-actions/auth@v1 | |
with: | |
create_credentials_file: "true" | |
workload_identity_provider: "projects/311968610280/locations/global/workloadIdentityPools/github/providers/github" | |
service_account: "[email protected]" | |
- name: Copy files | |
run: |- | |
gcloud auth login --brief --cred-file="${{ steps.gcpauth.outputs.credentials_file_path }}" | |
if gsutil -m ls "gs://lks-lz-binaries-euw4/${{ github.event.number }}/*" | |
then | |
echo "Deleting PR ${{ github.event.number }} release files" | |
if ! gsutil -m rm -r -f "gs://lks-lz-binaries-euw4/${{ github.event.number }}/*" | |
then | |
echo "There was an error while deleting the files, but it's ok, we have a large bucket!" | |
fi | |
fi |