Compare commits
No commits in common. "master" and "kx3dex_radio_v1.3.0" have entirely different histories.
master
...
kx3dex_rad
|
@ -13,32 +13,21 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
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
|
|
||||||
|
|
||||||
- name: Get 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
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Available platforms
|
||||||
|
run: echo ${{ steps.buildx.outputs.platforms }}
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18.20.0'
|
node-version: '18.20.0'
|
||||||
|
|
||||||
- name: Create a new release and publish package.
|
- name: Create a new release and publish package.
|
||||||
id: release
|
|
||||||
run: |
|
run: |
|
||||||
CURR_VER="$(cat package.json | jq -r .name)_v$(cat package.json | jq -r .version)"
|
CURR_VER="$(cat package.json | jq -r .name)_v$(cat package.json | jq -r .version)"
|
||||||
CURR_NAME="$(cat package.json | jq -r .name) v$(cat package.json | jq -r .version)"
|
CURR_NAME="$(cat package.json | jq -r .name) v$(cat package.json | jq -r .version)"
|
||||||
|
@ -69,7 +58,6 @@ jobs:
|
||||||
curl \
|
curl \
|
||||||
-X POST \
|
-X POST \
|
||||||
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets
|
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
|
@ -81,5 +69,4 @@ jobs:
|
||||||
linux/arm64
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
|
gitea.simplysyncedllc.com/dex/kx3dex_radio:${RELEASE_ID}
|
||||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json yarn.lock ./
|
COPY package.json yarn.lock ./
|
||||||
RUN yarn config set network-timeout 100000
|
RUN yarn config set network-timeout 100000
|
||||||
|
#RUN apk add g++ make py3-pip
|
||||||
|
#RUN yarn global add node-gyp
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|
||||||
# Rebuild the source code only when needed
|
# Rebuild the source code only when needed
|
||||||
|
|
|
@ -9,7 +9,7 @@ export default async function Home() {
|
||||||
if there is anything you have for suggestions on projects you'd like to see a writeup on email me at bluebulletrl@gmail.com. Still need to setup email for this domain.
|
if there is anything you have for suggestions on projects you'd like to see a writeup on email me at bluebulletrl@gmail.com. Still need to setup email for this domain.
|
||||||
</div>
|
</div>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5">
|
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5">
|
||||||
Coming soon will be an updated DexNet guide that will include Meshtastic Information. New document will be uploaded End of August.
|
Coming soon will be an updated DexNet guide that will include Meshtastic Information.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "kx3dex_radio",
|
"name": "kx3dex_radio",
|
||||||
"version": "1.3.5",
|
"version": "1.3.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|
Loading…
Reference in New Issue