[ci] Add codebuild #2
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: aws | |
on: push | |
# on: | |
# push: | |
# branches: | |
# - 'dev' | |
jobs: | |
aws: | |
name: AWS Pipeline (private) | |
if: github.actor == 'davideschiavone' || github.actor == 'MikeOpenHWGroup' || github.actor == 'zarubaf' | |
runs-on: ubuntu-latest | |
# These permissions are needed to interact with GitHub's OIDC Token endpoint. | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} | |
aws-region: eu-west-1 | |
- name: Run AWS Pipeline | |
uses: openhwgroup/aws-codebuild-run-build@master | |
with: | |
project-name: core-v-verif | |
hide-log: false |