testing PR going with org change #145
Workflow file for this run
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: github-release | |
on: [push] | |
jobs: | |
release-if-tagged-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️Ivy Builder | |
uses: actions/checkout@v2 | |
with: | |
path: ivy_builder | |
persist-credentials: false | |
- name: Install Dependencies | |
run: | | |
sudo apt-get install python3-venv | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade build | |
python3 -m pip install --upgrade twine | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Release on Github | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
uses: actions/create-release@v1 | |
with: | |
draft: false | |
prerelease: false | |
release_name: Ivy Builder ${{ steps.get_version.outputs.VERSION }} | |
tag_name: ${{ steps.get_version.outputs.VERSION }} | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |