honeybee_core_release #379
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-Dispatch | |
on: repository_dispatch | |
jobs: | |
bump_honeybee_core: | |
name: "Check Event" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'honeybee_core_release' | |
steps: | |
- name: "Checkout Master Branch" | |
uses: actions/checkout@v2 | |
with: | |
ref: refs/heads/master | |
token: ${{ secrets.DEPS_UPDATING }} | |
- name: "Run Update Script" | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g') | |
sed -i --regexp-extended 's/(honeybee-core==).*/honeybee-core=='"$CLEAN_VERSION"'/' requirements.txt | |
- name: "Commit and Push Changes" | |
id: push | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
git config --global user.name 'ladybugbot' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -m "fix(deps): Bump honeybee-core to $VERSION" | |
git push | |
bump_honeybee_radiance_folder: | |
name: "Check Event" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'honeybee_radiance_folder_release' | |
steps: | |
- name: "Checkout Master Branch" | |
uses: actions/checkout@v2 | |
with: | |
ref: refs/heads/master | |
token: ${{ secrets.DEPS_UPDATING }} | |
- name: "Run Update Script" | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g') | |
sed -i --regexp-extended 's/(honeybee-radiance-folder==).*/honeybee-radiance-folder=='"$CLEAN_VERSION"'/' requirements.txt | |
- name: "Commit and Push Changes" | |
id: push | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
git config --global user.name 'ladybugbot' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -m "fix(deps): Bump honeybee-radiance-folder to $VERSION" | |
git push | |
bump_honeybee_radiance_command: | |
name: "Check Event" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'honeybee_radiance_command_release' | |
steps: | |
- name: "Checkout Master Branch" | |
uses: actions/checkout@v2 | |
with: | |
ref: refs/heads/master | |
token: ${{ secrets.DEPS_UPDATING }} | |
- name: "Run Update Script" | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g') | |
sed -i --regexp-extended 's/(honeybee-radiance-command==).*/honeybee-radiance-command=='"$CLEAN_VERSION"'/' requirements.txt | |
- name: "Commit and Push Changes" | |
id: push | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
git config --global user.name 'ladybugbot' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -m "fix(deps): Bump honeybee-radiance-command to $VERSION" | |
git push | |
bump_honeybee_standards: | |
name: "Check Event" | |
runs-on: ubuntu-latest | |
if: github.event.action == 'honeybee_standards_release' | |
steps: | |
- name: "Checkout Master Branch" | |
uses: actions/checkout@v2 | |
with: | |
ref: refs/heads/master | |
token: ${{ secrets.DEPS_UPDATING }} | |
- name: "Run Update Script" | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
export CLEAN_VERSION=$(echo $VERSION | sed 's/v//g') | |
sed -i --regexp-extended 's/(honeybee-standards==).*/honeybee-standards=='"$CLEAN_VERSION"'/' requirements.txt | |
- name: "Commit and Push Changes" | |
id: push | |
env: | |
VERSION: ${{ github.event.client_payload.version }} | |
run: | | |
git config --global user.name 'ladybugbot' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -m "fix(deps): Bump honeybee-standards to $VERSION" | |
git push |