Skip to content

Commit

Permalink
github actions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
levoncrypto committed Dec 30, 2023
1 parent d12ee07 commit 1ed5f8b
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 59 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,37 @@ on:
tags:
- 'v*'
jobs:
# build-windows:
# name: Build for Windows
# runs-on: windows-2019
# steps:
# - name: Checkout Source
# uses: actions/checkout@v2
# - name: Get Binary for libusb
# run: |
# Invoke-WebRequest -Uri https://github.com/libusb/libusb/releases/download/v1.0.23/libusb-1.0.23.7z -OutFile libusb.7z -UseBasicParsing
# Start-Process -FilePath "C:\Program Files\7-Zip\7z.exe" -ArgumentList x,-olibusb,libusb.7z -NoNewWindow
# - name: Install libusb
# run: Copy-Item -Path "libusb\MS64\dll\libusb-1.0.dll" -Destination C:\Windows\System32\
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.9.0'
# - name: Install Application Dependencies
# run: |
# python -m pip install setuptools==65.3.0
# python -m pip install pip==20.2.3
# python -m pip install -r requirements.txt
# - name: Bundle Application
# run: python -m PyInstaller --distpath=bin --workpath=work dash_masternode_tool.spec
# - name: Upload Release Artifact
# uses: actions/upload-artifact@v2
# with:
# name: binaries-win32-amd64
# path: bin\firo-masternode-tool.exe
build-windows:
name: Build for Windows
runs-on: windows-2019
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Get Binary for libusb
run: |
Invoke-WebRequest -Uri https://github.com/libusb/libusb/releases/download/v1.0.23/libusb-1.0.23.7z -OutFile libusb.7z -UseBasicParsing
Start-Process -FilePath "C:\Program Files\7-Zip\7z.exe" -ArgumentList x,-olibusb,libusb.7z -NoNewWindow
- name: Install libusb
run: Copy-Item -Path "libusb\MS64\dll\libusb-1.0.dll" -Destination C:\Windows\System32\
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9.0'
- name: Install Application Dependencies
run: |
python -m pip install setuptools==65.3.0
python -m pip install pip==20.2.3
python -m pip install -r requirements.txt
- name: Bundle Application
run: python -m PyInstaller --distpath=bin --workpath=work dash_masternode_tool.spec
- name: Upload Release Artifact
uses: actions/upload-artifact@v2
with:
name: binaries-win32-amd64
path: bin\firo-masternode-tool.exe
build-mac:
name: Build for macOS
runs-on: macos-10.15
runs-on: macos-12.7
steps:
- name: Checkout Source
uses: actions/checkout@v2
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
release:
name: Draft Release
runs-on: ubuntu-18.04
needs: [build-mac, build-linux]
needs: [build-windows, build-mac, build-linux]
env:
BIN_ROOT: bin
ASSETS_ROOT: release
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@ on:
branches:
- master
jobs:
# build-windows:
# name: Build for Windows
# runs-on: windows-2019
# steps:
# - name: Checkout Source
# uses: actions/checkout@v2
# - name: Get Binary for libusb
# run: |
# Invoke-WebRequest -Uri https://github.com/libusb/libusb/releases/download/v1.0.23/libusb-1.0.23.7z -OutFile libusb.7z -UseBasicParsing
# Start-Process -FilePath "C:\Program Files\7-Zip\7z.exe" -ArgumentList x,-olibusb,libusb.7z -NoNewWindow
# - name: Install libusb
# run: Copy-Item -Path "libusb\MS64\dll\libusb-1.0.dll" -Destination C:\Windows\System32\
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: '3.9.0'
# - name: Install Application Dependencies
# run: |
# python -m pip install setuptools==65.3.0
# python -m pip install pip==20.2.3
# python -m pip install -r requirements.txt
# - name: Bundle Application
# run: python -m PyInstaller --distpath=bin --workpath=work dash_masternode_tool.spec
# - name: Upload Release Artifact
# uses: actions/upload-artifact@v2
# with:
# name: binaries-win32-amd64
# path: bin\firo-masternode-tool.exe
build-windows:
name: Build for Windows
runs-on: windows-2019
steps:
- name: Checkout Source
uses: actions/checkout@v2
- name: Get Binary for libusb
run: |
Invoke-WebRequest -Uri https://github.com/libusb/libusb/releases/download/v1.0.23/libusb-1.0.23.7z -OutFile libusb.7z -UseBasicParsing
Start-Process -FilePath "C:\Program Files\7-Zip\7z.exe" -ArgumentList x,-olibusb,libusb.7z -NoNewWindow
- name: Install libusb
run: Copy-Item -Path "libusb\MS64\dll\libusb-1.0.dll" -Destination C:\Windows\System32\
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9.0'
- name: Install Application Dependencies
run: |
python -m pip install setuptools==65.3.0
python -m pip install pip==20.2.3
python -m pip install -r requirements.txt
- name: Bundle Application
run: python -m PyInstaller --distpath=bin --workpath=work dash_masternode_tool.spec
- name: Upload Release Artifact
uses: actions/upload-artifact@v2
with:
name: binaries-win32-amd64
path: bin\firo-masternode-tool.exe
build-mac:
name: Build for macOS
runs-on: macos-10.15
runs-on: macos-12.7
steps:
- name: Checkout Source
uses: actions/checkout@v2
Expand Down

0 comments on commit 1ed5f8b

Please sign in to comment.