update github actions
This commit is contained in:
32
.github/workflows/develop.yml
vendored
32
.github/workflows/develop.yml
vendored
@@ -12,11 +12,11 @@ jobs:
|
|||||||
build-win64:
|
build-win64:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- name: Install Requirements
|
- name: Install Requirements
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe
|
mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe
|
||||||
shell: cmd
|
shell: cmd
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: gotify-tray-installer-win.exe
|
name: gotify-tray-installer-win.exe
|
||||||
path: gotify-tray-installer-win.exe
|
path: gotify-tray-installer-win.exe
|
||||||
@@ -41,11 +41,11 @@ jobs:
|
|||||||
tag: [jammy]
|
tag: [jammy]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
./build-linux.sh deb
|
./build-linux.sh deb
|
||||||
mv "dist/gotify-tray_$(cat version.txt)_amd64.deb" "gotify-tray_$(cat version.txt)_amd64_${{ matrix.tag }}.deb"
|
mv "dist/gotify-tray_$(cat version.txt)_amd64.deb" "gotify-tray_$(cat version.txt)_amd64_${{ matrix.tag }}.deb"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: "gotify-tray_*_amd64_${{ matrix.tag }}.deb"
|
path: "gotify-tray_*_amd64_${{ matrix.tag }}.deb"
|
||||||
|
|
||||||
@@ -68,11 +68,11 @@ jobs:
|
|||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -81,7 +81,7 @@ jobs:
|
|||||||
brew install create-dmg
|
brew install create-dmg
|
||||||
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
|
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: gotify-tray.dmg
|
name: gotify-tray.dmg
|
||||||
path: gotify-tray.dmg
|
path: gotify-tray.dmg
|
||||||
@@ -89,11 +89,11 @@ jobs:
|
|||||||
build-pip:
|
build-pip:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- name: install requirements
|
- name: install requirements
|
||||||
@@ -103,6 +103,6 @@ jobs:
|
|||||||
- name: create pip package
|
- name: create pip package
|
||||||
run: python -m build
|
run: python -m build
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: dist/gotify_tray-*.whl
|
path: dist/gotify_tray-*.whl
|
||||||
|
|||||||
36
.github/workflows/release.yml
vendored
36
.github/workflows/release.yml
vendored
@@ -10,11 +10,11 @@ jobs:
|
|||||||
build-win64:
|
build-win64:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- name: Install Requirements
|
- name: Install Requirements
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe
|
mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe
|
||||||
shell: cmd
|
shell: cmd
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: gotify-tray-installer-win.exe
|
name: gotify-tray-installer-win.exe
|
||||||
path: gotify-tray-installer-win.exe
|
path: gotify-tray-installer-win.exe
|
||||||
@@ -39,11 +39,11 @@ jobs:
|
|||||||
tag: [bullseye, bookworm]
|
tag: [bullseye, bookworm]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
@@ -58,7 +58,7 @@ jobs:
|
|||||||
./build-linux.sh deb
|
./build-linux.sh deb
|
||||||
mv "dist/gotify-tray_$(cat version.txt)_amd64.deb" "gotify-tray_$(cat version.txt)_amd64_${{ matrix.tag }}.deb"
|
mv "dist/gotify-tray_$(cat version.txt)_amd64.deb" "gotify-tray_$(cat version.txt)_amd64_${{ matrix.tag }}.deb"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: gotify-tray_${{github.ref_name}}_amd64_${{ matrix.tag }}.deb
|
name: gotify-tray_${{github.ref_name}}_amd64_${{ matrix.tag }}.deb
|
||||||
path: gotify-tray_${{github.ref_name}}_amd64_${{ matrix.tag }}.deb
|
path: gotify-tray_${{github.ref_name}}_amd64_${{ matrix.tag }}.deb
|
||||||
@@ -66,11 +66,11 @@ jobs:
|
|||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- name: Build
|
- name: Build
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
brew install create-dmg
|
brew install create-dmg
|
||||||
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
|
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: gotify-tray.dmg
|
name: gotify-tray.dmg
|
||||||
path: gotify-tray.dmg
|
path: gotify-tray.dmg
|
||||||
@@ -92,11 +92,11 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10.8'
|
python-version: '3.13'
|
||||||
- name: Upgrade pip and enable wheel support
|
- name: Upgrade pip and enable wheel support
|
||||||
run: python -m pip install --upgrade pip setuptools wheel
|
run: python -m pip install --upgrade pip setuptools wheel
|
||||||
- name: install requirements
|
- name: install requirements
|
||||||
@@ -108,7 +108,7 @@ jobs:
|
|||||||
- name: upload to pypi
|
- name: upload to pypi
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: gotify_tray-${{github.ref_name}}-py3-none-any.whl
|
name: gotify_tray-${{github.ref_name}}-py3-none-any.whl
|
||||||
path: dist/gotify_tray-${{github.ref_name}}-py3-none-any.whl
|
path: dist/gotify_tray-${{github.ref_name}}-py3-none-any.whl
|
||||||
@@ -117,8 +117,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build-win64, build-debian, build-macos, pypi]
|
needs: [build-win64, build-debian, build-macos, pypi]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: marvinpinto/action-automatic-releases@latest
|
uses: marvinpinto/action-automatic-releases@latest
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
requests==2.32.3
|
requests
|
||||||
pyqt6==6.7.1
|
pyqt6>=6.7.1
|
||||||
|
|||||||
3
setup.py
3
setup.py
@@ -15,7 +15,7 @@ with open("version.txt", "r") as f:
|
|||||||
|
|
||||||
# What packages are required for this module to be executed?
|
# What packages are required for this module to be executed?
|
||||||
REQUIRED = [
|
REQUIRED = [
|
||||||
'requests==2.32.3', 'pyqt6==6.7.1'
|
'requests', 'pyqt6>=6.7.1'
|
||||||
]
|
]
|
||||||
|
|
||||||
# What packages are optional?
|
# What packages are optional?
|
||||||
@@ -87,5 +87,6 @@ setup(
|
|||||||
'Programming Language :: Python :: 3.10',
|
'Programming Language :: Python :: 3.10',
|
||||||
'Programming Language :: Python :: 3.11',
|
'Programming Language :: Python :: 3.11',
|
||||||
'Programming Language :: Python :: 3.12'
|
'Programming Language :: Python :: 3.12'
|
||||||
|
'Programming Language :: Python :: 3.13'
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user