fix: added dataformat for adaptive avgpool2d for alexnet #330
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 Models | |
uses: actions/checkout@v2 | |
with: | |
path: ivy_models | |
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 Models ${{ steps.get_version.outputs.VERSION }} | |
tag_name: ${{ steps.get_version.outputs.VERSION }} | |
env: | |
GITHUB_TOKEN: ${{ github.token }} |