Specify prelease repository
This commit is contained in:
parent
3eb23209e8
commit
b28b10e604
2 changed files with 17 additions and 8 deletions
24
.github/workflows/build_artifacts.yaml
vendored
24
.github/workflows/build_artifacts.yaml
vendored
|
@ -1,12 +1,6 @@
|
||||||
name: Build artifacts
|
name: Build artifacts and make release
|
||||||
|
|
||||||
on:
|
on: workflow_dispatch
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
directory:
|
|
||||||
description: 'Directory to run Docker command in'
|
|
||||||
required: true
|
|
||||||
default: '.'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows:
|
build-windows:
|
||||||
|
@ -37,9 +31,23 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--volume "${{ github.workspace }}:/src/" \
|
--volume "${{ github.workspace }}:/src/" \
|
||||||
|
--env SPECFILE=./BTClockOTA.spec \
|
||||||
batonogov/pyinstaller-windows:latest
|
batonogov/pyinstaller-windows:latest
|
||||||
|
- name: Get current block
|
||||||
|
id: getBlockHeight
|
||||||
|
run: echo "blockHeight=$(curl -s https://mempool.space/api/blocks/tip/height)" >> $GITHUB_OUTPUT
|
||||||
- name: Archive artifacts
|
- name: Archive artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-artifacts
|
name: windows-artifacts
|
||||||
path: dist/
|
path: dist/
|
||||||
|
- name: Create release
|
||||||
|
uses: ncipollo/release-action@v1
|
||||||
|
with:
|
||||||
|
tag: ${{ steps.getBlockHeight.outputs.blockHeight }}
|
||||||
|
commit: main
|
||||||
|
name: release-${{ steps.getBlockHeight.outputs.blockHeight }}
|
||||||
|
artifacts: 'dist/**'
|
||||||
|
allowUpdates: true
|
||||||
|
removeArtifacts: true
|
||||||
|
makeLatest: true
|
|
@ -1,3 +1,4 @@
|
||||||
|
-f https://wxpython.org/Phoenix/snapshot-builds/
|
||||||
Requests==2.32.3
|
Requests==2.32.3
|
||||||
wxPython==4.2.2a1.dev5670+a207b407
|
wxPython==4.2.2a1.dev5670+a207b407
|
||||||
zeroconf==0.132.2
|
zeroconf==0.132.2
|
||||||
|
|
Loading…
Reference in a new issue