FlowLauncher-OSRS-Wiki-Search/.forgejo/workflows/release.yml

29 lines
781 B
YAML
Raw Normal View History

2024-07-05 20:55:23 +02:00
name: Release
on: [tag]
jobs:
release:
runs-on: ubuntu-latest
env:
python_ver: 3.8
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.python_ver }}
uses: actions/setup-python@v2
with:
python-version: ${{ env.python_ver }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./requirements.txt -t ./lib
mkdir uploads
2024-07-05 20:57:28 +02:00
zip -r uploads/Flow.Launcher.Plugin.OSRSSearch.zip . -x '*.git*'
2024-07-05 20:55:23 +02:00
- name: Create release
uses: actions/forgejo-release@v1
with:
direction: upload
url: https://git.lrsb.nl
release-dir: uploads
token: ${{ secrets.ACCESS_TOKEN }}