Skip to content

docs: update

docs: update #4

name: Build and Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build_and_release:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Run build script
run: python _build_this_addon_.py
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: ${{ github.ref_name }}
release_name: EasyShowTool ${{ github.ref_name }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload_release_asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /home/runner/work/EasyShowTool/EasyShowTool/EasyShowTool.zip
asset_name: EasyShowTool_${{ github.ref_name }}.zip
asset_content_type: application/zip