-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (40 loc) · 1.17 KB
/
make_release_bins.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Appimage Create Release Binaries
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install fuse
run: |
sudo apt-get update --fix-missing
sudo apt-get install -y -f -o Acquire::Retries=3 fuse python-is-python3
- name: configure
run: ./configure.sh --release
- name: make
run: make appimage-bld/osc-tui-x86_64.AppImage
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.TOKEN }}"
automatic_release_tag: "v24.09.0"
prerelease: true
title: "Fix Release"
files: |
LICENSE
appimage-bld/osc-tui-x86_64.AppImage
- name: twine
run: |
python -m venv env
. env/bin/activate
python -m pip install -e .
python -m pip install --upgrade build
python -m pip install --upgrade twine
python -m build
twine upload --verbose dist/osc_tui*whl
twine upload --verbose dist/osc_tui*tar.gz
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PIP_TOKEN }}