Adding Version releases
Build KX3DEX.radio / Build and Deploy (push) Successful in 29m55s Details

master
Dex 2024-05-06 22:39:45 -04:00
parent 221d7f9c72
commit d6958ea3ea
1 changed files with 12 additions and 12 deletions

View File

@ -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}}