update workflow actions
This commit is contained in:
24
.github/workflows/develop.yml
vendored
24
.github/workflows/develop.yml
vendored
@@ -12,9 +12,9 @@ jobs:
|
||||
build-win64:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9.5'
|
||||
- name: Upgrade pip and enable wheel support
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
mv inno-output\gotify-tray-installer.exe gotify-tray-installer-win.exe
|
||||
shell: cmd
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: gotify-tray-installer-win.exe
|
||||
path: gotify-tray-installer-win.exe
|
||||
@@ -42,9 +42,9 @@ jobs:
|
||||
tag: [jammy]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9.5'
|
||||
- name: Upgrade pip and enable wheel support
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
make build
|
||||
cp dist/gotify-tray_amd64.deb gotify-tray_amd64_ubuntu_${{ matrix.tag }}.deb
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: gotify-tray_amd64_ubuntu_${{ matrix.tag }}.deb
|
||||
path: gotify-tray_amd64_ubuntu_${{ matrix.tag }}.deb
|
||||
@@ -63,9 +63,9 @@ jobs:
|
||||
if: ${{ github.actor != 'dependabot[bot]' }}
|
||||
runs-on: macos-12
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9.5'
|
||||
- name: Upgrade pip and enable wheel support
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
brew install create-dmg
|
||||
create-dmg --volname "Gotify Tray" --app-drop-link 0 0 --no-internet-enable "gotify-tray.dmg" "./dist/Gotify Tray.app"
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: gotify-tray.dmg
|
||||
path: gotify-tray.dmg
|
||||
@@ -84,9 +84,9 @@ jobs:
|
||||
build-pip:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9.5'
|
||||
- name: Upgrade pip and enable wheel support
|
||||
@@ -98,6 +98,6 @@ jobs:
|
||||
- name: create pip package
|
||||
run: python -m build
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: dist/gotify_tray-*.whl
|
||||
|
||||
Reference in New Issue
Block a user