Skip to content

Commit

Permalink
user
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh Saini committed Dec 5, 2024
1 parent b92450e commit 20f6e16
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
runs-on: windows-latest
if: |
(github.event_name == 'push' && github.ref_type == 'branch') ||
(github.event_name == 'push' && github.ref_type == 'tag' && contains(github.ref, 'enterprise-release-v') &&
(github.actor == 'saranshsaini' || github.actor == 'fortenforge'))
(github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, 'enterprise-release-v')
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -35,13 +34,19 @@ jobs:
run: msbuild CodeiumVS.sln /p:Configuration=Release /p:Platform="Any CPU" /p:TargetFrameworkVersion="v4.8" /restore

- id: auth
if: |
(github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, 'enterprise-release-v') &&
(github.actor == 'saranshsaini' || github.actor == 'fortenforge'))
uses: google-github-actions/auth@v2
timeout-minutes: 1
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}

- name: Upload chat client
if: |
(github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, 'enterprise-release-v') &&
(github.actor == 'saranshsaini' || github.actor == 'fortenforge'))
uses: google-github-actions/upload-cloud-storage@v2
with:
path: CodeiumVS/bin/Release/Codeium.vsix
Expand Down

0 comments on commit 20f6e16

Please sign in to comment.