Skip to content

osc-api-deploy release build #9

osc-api-deploy release build

osc-api-deploy release build #9

Workflow file for this run

name: osc-api-deploy release build
on:
workflow_dispatch:
inputs:
api_version:
description: 'Outscale API version'
required: true
jobs:
auto-build:
environment: auto-build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Write Outscale API version to use
run: echo "${{ github.event.inputs.api_version }}" > api_version
- name: check version duplication
run: .github/scripts/release-check-duplicate.sh
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: auto-generate release
run: ./build.sh "${{ github.event.inputs.api_version }}"
- name: push release branch
run: .github/scripts/release-push.sh
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
- name: create pull request
run: .github/scripts/release-pr.sh
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}