Skip to content

Set Google Cloud Datastore Entity

Actions
Insert or update an entity in Google Cloud Datastore
v1.0.0
Latest
Star (2)

Google Cloud Datastore Action

status

Easily set an entity in Google Cloud Datastore during your GitHub Actions workflow.

Usage

- uses: BeeMyDesk/[email protected]
  with:
    credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
    project_id: ${{ secrets.GOOGLE_PROJECT_ID }}
    action: save
    entity_kind: cloud-datastore-action-test
    entity_name:  cloud-datastore-action-test-${{ matrix.action }}
    entity_data: '{"value": 42, "sha": "${{github.sha}}"}'

Parameters

  • credentials: Service account key for GCP, exported as JSON and encoded in base64. To encode a JSON file, you can do: base64 ~/credentials.json.
  • project_id: Google Cloud Project ID.
  • action: Action to perform on the entity. save will overwrite the whole entity, while merge will keep the existing properties not specified here.
  • entity_kind: Kind of entity.
  • entity_name: Name of the entity to insert/update.
  • entity_data: JSON representation of the entity data.

License

MIT License

Set Google Cloud Datastore Entity is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Insert or update an entity in Google Cloud Datastore
v1.0.0
Latest

Set Google Cloud Datastore Entity is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.