revert
Build KX3DEX.radio / Build and Deploy (push) Successful in 32m45s Details

master
Dex 2024-05-06 20:42:54 -04:00
parent 84b0d5923d
commit 221d7f9c72
1 changed files with 12 additions and 12 deletions

View File

@ -13,18 +13,18 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: actions/github-script@v7 #- uses: actions/github-script@v7
id: set-result # id: set-result
with: # with:
script: | # script: |
var fs = require("fs") # var fs = require("fs")
var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' }) # var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' })
var pkg = JSON.parse(content) # var pkg = JSON.parse(content)
return pkg.version # return pkg.version
result-encoding: string # result-encoding: string
- name: Get result #- name: Get result
run: echo "gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}" # run: echo "gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}"
- name: Install QEMU - name: Install QEMU
run: apt-get update && apt-get install -y qemu-user-static run: apt-get update && apt-get install -y qemu-user-static
@ -82,4 +82,4 @@ jobs:
push: true push: true
tags: | tags: |
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest 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}}