patch(deps): update dependency go to v1.23.5 (#971) #337
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: openapi | |
"on": | |
push: | |
branches: | |
- master | |
jobs: | |
openapi: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Configure aws | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: eu-central-1 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: head | |
- name: Copy spec | |
run: | | |
mkdir dist | |
cp openapi/v1.yml dist/$(ruby -ryaml -e "puts YAML::load(open('openapi/v1.yml').read)['info']['version']").yml | |
- name: Upload spec | |
run: | | |
aws s3 sync dist/ s3://dl.kleister.eu/openapi/ | |
... |