Skip to content

Commit fcfb743

Browse files
authored
Update CI and deps (#306)
1 parent 5be2952 commit fcfb743

5 files changed

Lines changed: 146 additions & 131 deletions

File tree

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- uses: 'google-github-actions/auth@main'
3636
with:
3737
workload_identity_provider: '${{ secrets.WIF_PROVIDER_NAME }}'
38-
service_account: '${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_EMAIL }}'
38+
service_account: '${{ secrets.SERVICE_ACCOUNT_EMAIL }}'
3939

4040
- name: 'Create files'
4141
run: |-
@@ -48,7 +48,7 @@ jobs:
4848
uses: './'
4949
with:
5050
path: './test'
51-
destination: '${{ secrets.UPLOAD_CLOUD_STORAGE_TEST_BUCKET }}/testprefix'
51+
destination: '${{ secrets.BUCKET_NAME }}/testprefix'
5252

5353
- name: 'Get output'
5454
run: 'echo "${{ steps.upload.outputs.uploaded }}"'

.github/workflows/unit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ jobs:
4949
- uses: 'google-github-actions/auth@main'
5050
with:
5151
workload_identity_provider: '${{ secrets.WIF_PROVIDER_NAME }}'
52-
service_account: '${{ secrets.UPLOAD_CLOUD_STORAGE_GCP_SA_EMAIL }}'
52+
service_account: '${{ secrets.SERVICE_ACCOUNT_EMAIL }}'
5353
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
5454

5555
# The secrets will only be injected in pushes to main or from maintainers.
5656
# If they aren't present, the associated steps are skipped.
5757
- name: 'npm test'
5858
run: 'npm run test'
5959
env:
60-
UPLOAD_CLOUD_STORAGE_TEST_BUCKET: '${{ secrets.UPLOAD_CLOUD_STORAGE_TEST_BUCKET }}'
61-
UPLOAD_CLOUD_STORAGE_TEST_PROJECT: '${{ secrets.UPLOAD_CLOUD_STORAGE_PROJECT }}'
60+
UPLOAD_CLOUD_STORAGE_TEST_BUCKET: '${{ secrets.BUCKET_NAME }}'
61+
UPLOAD_CLOUD_STORAGE_TEST_PROJECT: '${{ secrets.PROJECT_ID }}'

dist/index.js

Lines changed: 27 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)