You've already forked Node.js-Archive-Keyring
All checks were successful
Node.js v18 Archive Keyring (Bookworm) / Node.js v18 Archive Keyring [arm64] (push) Successful in 11s
Node.js v18 Archive Keyring (Bookworm) / Node.js v18 Archive Keyring [amd64] (push) Successful in 11s
Node.js v20 Archive Keyring (Bookworm) / Node.js v20 Archive Keyring [arm64] (push) Successful in 10s
Node.js v20 Archive Keyring (Bookworm) / Node.js v20 Archive Keyring [amd64] (push) Successful in 11s
Node.js v22 Archive Keyring (Bookworm) / Node.js v22 Archive Keyring [arm64] (push) Successful in 11s
Node.js v22 Archive Keyring (Bookworm) / Node.js v22 Archive Keyring [amd64] (push) Successful in 10s
Node.js v24 Archive Keyring (Bookworm) / Node.js v24 Archive Keyring [arm64] (push) Successful in 11s
Node.js v24 Archive Keyring (Bookworm) / Node.js v24 Archive Keyring [amd64] (push) Successful in 11s
Node.js v18 Archive Keyring (Noble) / Node.js v18 Archive Keyring [arm64] (push) Successful in 11s
Node.js v18 Archive Keyring (Noble) / Node.js v18 Archive Keyring [amd64] (push) Successful in 11s
Node.js v20 Archive Keyring (Noble) / Node.js v20 Archive Keyring [arm64] (push) Successful in 11s
Node.js v20 Archive Keyring (Noble) / Node.js v20 Archive Keyring [amd64] (push) Successful in 11s
Node.js v22 Archive Keyring (Noble) / Node.js v22 Archive Keyring [arm64] (push) Successful in 11s
Node.js v22 Archive Keyring (Noble) / Node.js v22 Archive Keyring [amd64] (push) Successful in 9s
Node.js v24 Archive Keyring (Noble) / Node.js v24 Archive Keyring [arm64] (push) Successful in 10s
Node.js v24 Archive Keyring (Noble) / Node.js v24 Archive Keyring [amd64] (push) Successful in 11s
Node.js v18 Archive Keyring (Trixie) / Node.js v18 Archive Keyring [arm64] (push) Successful in 12s
Node.js v18 Archive Keyring (Trixie) / Node.js v18 Archive Keyring [amd64] (push) Successful in 11s
Node.js v20 Archive Keyring (Trixie) / Node.js v20 Archive Keyring [arm64] (push) Successful in 10s
Node.js v20 Archive Keyring (Trixie) / Node.js v20 Archive Keyring [amd64] (push) Successful in 11s
Node.js v22 Archive Keyring (Trixie) / Node.js v22 Archive Keyring [arm64] (push) Successful in 11s
Node.js v22 Archive Keyring (Trixie) / Node.js v22 Archive Keyring [amd64] (push) Successful in 11s
Node.js v24 Archive Keyring (Trixie) / Node.js v24 Archive Keyring [arm64] (push) Successful in 11s
Node.js v24 Archive Keyring (Trixie) / Node.js v24 Archive Keyring [amd64] (push) Successful in 11s
117 lines
5.3 KiB
YAML
117 lines
5.3 KiB
YAML
name: Node.js v18 Archive Keyring (Trixie)
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
env:
|
|
RELEASE: 'Node.js v18 Archive Keyring'
|
|
jobs:
|
|
arm64:
|
|
name: Node.js v18 Archive Keyring [arm64]
|
|
runs-on: trixie
|
|
steps:
|
|
- name: Repository [Clone]
|
|
uses: actions/checkout@v5
|
|
- name: Environment [Prepare]
|
|
id: environment
|
|
run: |
|
|
ARCHITECTURE='arm64'
|
|
/usr/bin/echo "ARCHITECTURE=${ARCHITECTURE}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'ARCHITECTURE' to '${ARCHITECTURE}'"
|
|
CODENAME='trixie'
|
|
/usr/bin/echo "CODENAME=${CODENAME}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'CODENAME' to '${CODENAME}'"
|
|
PACKAGE=$(/usr/bin/grep 'Package:' './root/DEBIAN/control' | /usr/bin/sed --expression='s/Package: //')
|
|
PACKAGE="${PACKAGE/X/18}"
|
|
/usr/bin/echo "PACKAGE=${PACKAGE}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'PACKAGE' to '${PACKAGE}'"
|
|
VERSION=$(/usr/bin/grep 'Version:' './root/DEBIAN/control' | /usr/bin/sed --expression='s/Version: //')
|
|
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
|
|
DEB="${PACKAGE}_${VERSION}_${CODENAME}_${ARCHITECTURE}.deb"
|
|
/usr/bin/echo "DEB=${DEB}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'DEB' to '${DEB}'"
|
|
- name: SSH Private Key [Prepare]
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
run: |
|
|
/usr/bin/echo "${SSH_PRIVATE_KEY}" > './id_ed25519'
|
|
/usr/bin/chmod --quiet '0400' './id_ed25519'
|
|
- name: Debian Package [Prepare]
|
|
env:
|
|
ARCHITECTURE: ${{ steps.environment.outputs.architecture }}
|
|
VERSION: ${{ steps.environment.outputs.version }}
|
|
run: |
|
|
/usr/bin/sed --in-place --expression="s/X/18/" './root/DEBIAN/control'
|
|
/usr/bin/sed --in-place --expression="s/Architecture:.*/Architecture: ${ARCHITECTURE}/" './root/DEBIAN/control'
|
|
/usr/bin/sed --in-place --expression='s/node_X.x/node_18.x/' './root/etc/apt/sources.list.d/nodejs.sources'
|
|
- name: Debian Package [Generate]
|
|
env:
|
|
DEB: ${{ steps.environment.outputs.deb }}
|
|
run: |
|
|
/usr/bin/dpkg-gen './root'
|
|
/usr/bin/mv --verbose './root.deb' "${DEB}"
|
|
/usr/bin/touch "${DEB}.run"
|
|
- name: Publish Package [Release]
|
|
uses: https://gitea.com/actions/gitea-release-action@v1
|
|
with:
|
|
prerelease: true
|
|
name: ${{ env.RELEASEV }} RC v${{ steps.environment.outputs.version }}
|
|
tag_name: v${{ steps.environment.outputs.version }}
|
|
files: |
|
|
${{ steps.environment.outputs.deb }}
|
|
amd64:
|
|
name: Node.js v18 Archive Keyring [amd64]
|
|
runs-on: trixie
|
|
steps:
|
|
- name: Repository [Clone]
|
|
uses: actions/checkout@v5
|
|
- name: Environment [Prepare]
|
|
id: environment
|
|
run: |
|
|
ARCHITECTURE='amd64'
|
|
/usr/bin/echo "ARCHITECTURE=${ARCHITECTURE}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'ARCHITECTURE' to '${ARCHITECTURE}'"
|
|
CODENAME='trixie'
|
|
/usr/bin/echo "CODENAME=${CODENAME}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'CODENAME' to '${CODENAME}'"
|
|
PACKAGE=$(/usr/bin/grep 'Package:' './root/DEBIAN/control' | /usr/bin/sed --expression='s/Package: //')
|
|
PACKAGE="${PACKAGE/X/18}"
|
|
/usr/bin/echo "PACKAGE=${PACKAGE}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'PACKAGE' to '${PACKAGE}'"
|
|
VERSION=$(/usr/bin/grep 'Version:' './root/DEBIAN/control' | /usr/bin/sed --expression='s/Version: //')
|
|
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'VERSION' to '${VERSION}'"
|
|
DEB="${PACKAGE}_${VERSION}_${CODENAME}_${ARCHITECTURE}.deb"
|
|
/usr/bin/echo "DEB=${DEB}" >> "${GITHUB_OUTPUT}"
|
|
/usr/bin/echo "Set Variable 'DEB' to '${DEB}'"
|
|
- name: SSH Private Key [Prepare]
|
|
env:
|
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
run: |
|
|
/usr/bin/echo "${SSH_PRIVATE_KEY}" > './id_ed25519'
|
|
/usr/bin/chmod --quiet '0400' './id_ed25519'
|
|
- name: Debian Package [Prepare]
|
|
env:
|
|
ARCHITECTURE: ${{ steps.environment.outputs.architecture }}
|
|
VERSION: ${{ steps.environment.outputs.version }}
|
|
run: |
|
|
/usr/bin/sed --in-place --expression="s/X/18/" './root/DEBIAN/control'
|
|
/usr/bin/sed --in-place --expression="s/Architecture:.*/Architecture: ${ARCHITECTURE}/" './root/DEBIAN/control'
|
|
/usr/bin/sed --in-place --expression='s/node_X.x/node_18.x/' './root/etc/apt/sources.list.d/nodejs.sources'
|
|
- name: Debian Package [Generate]
|
|
env:
|
|
DEB: ${{ steps.environment.outputs.deb }}
|
|
run: |
|
|
/usr/bin/dpkg-gen './root'
|
|
/usr/bin/mv --verbose './root.deb' "${DEB}"
|
|
/usr/bin/touch "${DEB}.run"
|
|
- name: Publish Package [Release]
|
|
uses: https://gitea.com/actions/gitea-release-action@v1
|
|
with:
|
|
prerelease: true
|
|
name: ${{ env.RELEASEV }} RC v${{ steps.environment.outputs.version }}
|
|
tag_name: v${{ steps.environment.outputs.version }}
|
|
files: |
|
|
${{ steps.environment.outputs.deb }}
|