Skip to content

Commit

Permalink
feat/fix: Update GitHub Actions workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 22, 2024
1 parent 8d6faf5 commit 18c0460
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

env:
WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.WORKLOAD_IDENTITY_PROVIDER }}
CREDENTIALS_JSON: ${{ secrets.CREDENTIALS_JSON }}

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Authenticate with Google Cloud
uses: google-github-actions/auth@v1
with:
workload_identity_provider: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}
credentials_json: ${{ env.CREDENTIALS_JSON }}

# Add more steps for your build process

0 comments on commit 18c0460

Please sign in to comment.