FlowLauncher-OSRS-Wiki-Search/.forgejo/workflows/release.yml
Lars 19a9f87471
Some checks failed
Release / release (push) Failing after 19s
LET ME INNN
2024-07-05 21:30:47 +02:00

32 lines
No EOL
797 B
YAML

name: Release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: docker
env:
python_ver: 3.8.18
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ env.python_ver }}
uses: actions/setup-python@v4
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
zip -r uploads/Flow.Launcher.Plugin.OSRSSearch.zip . -x '*.git*'
- name: Create release
uses: actions/forgejo-release@v1
with:
direction: upload
url: https://git.lrsb.nl
release-dir: uploads
token: ${{ secrets.ACCESS_TOKEN }}