move ci #1
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: CI | |
on: | |
push: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
- name: Setup java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: coretto | |
java-version: 11 | |
- name: test | |
run: | | |
brew tap aws/tap | |
brew install aws-sam-cli | |
sam --version | |
chmod +x ./test.sh | |
export AWS_ACCESS_KEY_ID=EMPTY | |
export AWS_SECRET_ACCESS_KEY=EMPTY | |
export AWS_DEFAULT_REGION=us-east-1 | |
./test.sh | |