Adding Version releases
Build KX3DEX.radio / Build and Deploy (push) Successful in 29m55s
Details
Build KX3DEX.radio / Build and Deploy (push) Successful in 29m55s
Details
parent
221d7f9c72
commit
d6958ea3ea
|
@ -13,18 +13,18 @@ jobs:
|
|||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
#- uses: actions/github-script@v7
|
||||
# id: set-result
|
||||
# with:
|
||||
# script: |
|
||||
# var fs = require("fs")
|
||||
# var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' })
|
||||
# var pkg = JSON.parse(content)
|
||||
# return pkg.version
|
||||
# result-encoding: string
|
||||
- uses: actions/github-script@v7
|
||||
id: set-result
|
||||
with:
|
||||
script: |
|
||||
var fs = require("fs")
|
||||
var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' })
|
||||
var pkg = JSON.parse(content)
|
||||
return pkg.version
|
||||
result-encoding: string
|
||||
|
||||
#- name: Get result
|
||||
# run: echo "gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}"
|
||||
- name: Get result
|
||||
run: echo "gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}"
|
||||
|
||||
- name: Install QEMU
|
||||
run: apt-get update && apt-get install -y qemu-user-static
|
||||
|
@ -82,4 +82,4 @@ jobs:
|
|||
push: true
|
||||
tags: |
|
||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
|
||||
# gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}
|
||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}
|
||||
|
|
Loading…
Reference in New Issue