mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-19 21:45:36 +01:00
Try to add msi generation
This commit is contained in:
parent
ccc4035056
commit
1034d4d5d2
1 changed files with 24 additions and 2 deletions
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Release
|
name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master, main, adaptor-dlc]
|
branches: [master, main, adaptor-dlc, 2021-05-29-windows-msi]
|
||||||
tags: ["*"]
|
tags: ["*"]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -139,4 +139,26 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "bitcoin-s-deb-${{steps.previoustag.outputs.tag}}-${{github.sha}}"
|
name: "bitcoin-s-deb-${{steps.previoustag.outputs.tag}}-${{github.sha}}"
|
||||||
path: "${{ env.pkg-name }}_${{ steps.previoustag.outputs.tag }}-1_amd64.deb"
|
path: "${{ env.pkg-name }}_${{ steps.previoustag.outputs.tag }}-1_amd64.deb"
|
||||||
|
windows:
|
||||||
|
runs-on: [windows-latest]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup Scala
|
||||||
|
uses: olafurpg/setup-scala@v10
|
||||||
|
with:
|
||||||
|
java-version: adopt@1.16.0-1
|
||||||
|
- name: 'Get Previous tag'
|
||||||
|
id: previoustag
|
||||||
|
uses: "WyriHaximus/github-action-get-previous-tag@v1"
|
||||||
|
with:
|
||||||
|
fallback: 1.0.0 # Optional fallback tag to use when no tag can be found
|
||||||
|
- name: Build msi
|
||||||
|
shell: bash
|
||||||
|
run: sbt windows:packageBin
|
||||||
|
- name: View artifacts
|
||||||
|
run: ls -R .
|
||||||
|
- name: Upload installer
|
||||||
|
uses: actions/upload-artifact@v1
|
||||||
|
with:
|
||||||
|
name: bitcoin-s-msi-${{steps.previoustag.outputs.tag}}-${{github.sha}}
|
||||||
|
path: "D:\\a\\bitcoin-s\\bitcoin-s\\target\\windows\\bitcoin-s-bundle.msi"
|
Loading…
Add table
Reference in a new issue