2024-07-05 22:15:09 +02:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
|
|
uses: actions/setup-python@v5
|
|
|
|
with:
|
|
|
|
python-version: '3.9.19'
|
|
|
|
- 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-${{ env.GITHUB_REF_NAME }}.zip . -x '*.git*' '*.forgejo*'
|
|
|
|
- name: Create release
|
|
|
|
uses: actions/forgejo-release@v1
|
|
|
|
with:
|
|
|
|
direction: upload
|
2024-10-29 15:49:11 +01:00
|
|
|
url: https://git.lrsb.org
|
2024-07-05 22:15:09 +02:00
|
|
|
release-dir: uploads
|
|
|
|
token: ${{ secrets.ACCESS_TOKEN }}
|
|
|
|
|