This commit is contained in:
commit
c12ae73a06
8 changed files with 238 additions and 0 deletions
29
.forgejo/workflows/release.yml
Normal file
29
.forgejo/workflows/release.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
url: https://git.lrsb.nl
|
||||
release-dir: uploads
|
||||
token: ${{ secrets.ACCESS_TOKEN }}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue