chore(workflows): update action references to use custom GitLab URLs for consistency
This commit is contained in:
@@ -12,9 +12,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
- uses: https://git.quad4.io/actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
|
|
||||||
- name: Bearer
|
- name: Bearer
|
||||||
uses: bearer/bearer-action@828eeb928ce2f4a7ca5ed57fb8b59508cb8c79bc # v2
|
uses: https://git.quad4.io/bearer/bearer-action@828eeb928ce2f4a7ca5ed57fb8b59508cb8c79bc # v2
|
||||||
with:
|
with:
|
||||||
diff: true
|
diff: true
|
||||||
|
|||||||
@@ -6,16 +6,16 @@ on:
|
|||||||
- "*"
|
- "*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
build_windows:
|
# build_windows:
|
||||||
description: "Build Windows"
|
# description: "Build Windows"
|
||||||
required: false
|
# required: false
|
||||||
default: "true"
|
# default: "true"
|
||||||
type: boolean
|
# type: boolean
|
||||||
build_mac:
|
# build_mac:
|
||||||
description: "Build macOS"
|
# description: "Build macOS"
|
||||||
required: false
|
# required: false
|
||||||
default: "true"
|
# default: "true"
|
||||||
type: boolean
|
# type: boolean
|
||||||
build_linux:
|
build_linux:
|
||||||
description: "Build Linux"
|
description: "Build Linux"
|
||||||
required: false
|
required: false
|
||||||
@@ -37,15 +37,15 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repo
|
- name: Clone Repo
|
||||||
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
|
uses: https://git.quad4.io/actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
|
||||||
|
|
||||||
- name: Install NodeJS
|
- name: Install NodeJS
|
||||||
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
|
uses: https://git.quad4.io/actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
|
|
||||||
- name: Install Python
|
- name: Install Python
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
uses: https://git.quad4.io/actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
run: python scripts/sync_version.py
|
run: python scripts/sync_version.py
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: https://git.quad4.io/pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 9
|
||||||
|
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
run: pnpm run build-frontend
|
run: pnpm run build-frontend
|
||||||
|
|
||||||
- name: Upload frontend artifact
|
- name: Upload frontend artifact
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
uses: https://git.quad4.io/actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3-node20
|
||||||
with:
|
with:
|
||||||
name: frontend-build
|
name: frontend-build
|
||||||
path: meshchatx/public
|
path: meshchatx/public
|
||||||
@@ -78,24 +78,24 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: windows
|
# - name: windows
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
node: 22
|
# node: 22
|
||||||
python: "3.13"
|
# python: "3.13"
|
||||||
release_artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"
|
# release_artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"
|
||||||
build_input: build_windows
|
# build_input: build_windows
|
||||||
dist_script: dist-prebuilt
|
# dist_script: dist-prebuilt
|
||||||
variant: standard
|
# variant: standard
|
||||||
electron_version: "39.2.4"
|
# electron_version: "39.2.4"
|
||||||
- name: mac
|
# - name: mac
|
||||||
os: macos-14
|
# os: macos-14
|
||||||
node: 22
|
# node: 22
|
||||||
python: "3.13"
|
# python: "3.13"
|
||||||
release_artifacts: "dist/*-mac-*.dmg"
|
# release_artifacts: "dist/*-mac-*.dmg"
|
||||||
build_input: build_mac
|
# build_input: build_mac
|
||||||
dist_script: dist:mac-universal
|
# dist_script: dist:mac-universal
|
||||||
variant: standard
|
# variant: standard
|
||||||
electron_version: "39.2.4"
|
# electron_version: "39.2.4"
|
||||||
- name: linux
|
- name: linux
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
node: 22
|
node: 22
|
||||||
@@ -105,15 +105,15 @@ jobs:
|
|||||||
dist_script: dist-prebuilt
|
dist_script: dist-prebuilt
|
||||||
variant: standard
|
variant: standard
|
||||||
electron_version: "39.2.4"
|
electron_version: "39.2.4"
|
||||||
- name: windows-legacy
|
# - name: windows-legacy
|
||||||
os: windows-latest
|
# os: windows-latest
|
||||||
node: 18
|
# node: 18
|
||||||
python: "3.11"
|
# python: "3.11"
|
||||||
release_artifacts: "dist/*-win-installer*.exe,dist/*-win-portable*.exe"
|
# release_artifacts: "dist/*-win-installer*.exe,dist/*-win-portable*.exe"
|
||||||
build_input: build_windows
|
# build_input: build_windows
|
||||||
dist_script: dist-prebuilt
|
# dist_script: dist-prebuilt
|
||||||
variant: legacy
|
# variant: legacy
|
||||||
electron_version: "30.0.8"
|
# electron_version: "30.0.8"
|
||||||
- name: linux-legacy
|
- name: linux-legacy
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
node: 18
|
node: 18
|
||||||
@@ -130,7 +130,7 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
||||||
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
|
uses: https://git.quad4.io/actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1
|
||||||
|
|
||||||
- name: Set legacy Electron version
|
- name: Set legacy Electron version
|
||||||
if: |
|
if: |
|
||||||
@@ -146,7 +146,7 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
||||||
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
|
uses: https://git.quad4.io/actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
||||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
uses: https://git.quad4.io/actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
||||||
uses: pnpm/action-setup@v4
|
uses: https://git.quad4.io/pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 9
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
||||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
uses: https://git.quad4.io/actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||||
with:
|
with:
|
||||||
name: frontend-build
|
name: frontend-build
|
||||||
path: meshchatx/public
|
path: meshchatx/public
|
||||||
@@ -240,13 +240,10 @@ jobs:
|
|||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' ||
|
github.event_name == 'push' ||
|
||||||
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
(github.event_name == 'workflow_dispatch' && inputs[matrix.build_input] == true)
|
||||||
uses: actions/upload-artifact@v4
|
uses: https://git.quad4.io/actions/upload-artifact@c24449f33cd45d4826c6702db7e49f7cdb9b551d # v3-node20
|
||||||
with:
|
with:
|
||||||
name: build-${{ matrix.name }}
|
name: build-${{ matrix.name }}
|
||||||
path: |
|
path: |
|
||||||
dist/*-win-installer*.exe
|
|
||||||
dist/*-win-portable*.exe
|
|
||||||
dist/*-mac-*.dmg
|
|
||||||
dist/*-linux*.AppImage
|
dist/*-linux*.AppImage
|
||||||
dist/*-linux*.deb
|
dist/*-linux*.deb
|
||||||
python-dist/*.whl
|
python-dist/*.whl
|
||||||
@@ -261,7 +258,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Download all artifacts
|
- name: Download all artifacts
|
||||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
uses: https://git.quad4.io/actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
@@ -296,7 +293,7 @@ jobs:
|
|||||||
ls -1 *.sha256 2>/dev/null || echo "No .sha256 files found"
|
ls -1 *.sha256 2>/dev/null || echo "No .sha256 files found"
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1
|
uses: https://git.quad4.io/ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
artifacts: "release-assets/*"
|
artifacts: "release-assets/*"
|
||||||
@@ -310,26 +307,26 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Repo
|
- name: Clone Repo
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
uses: https://git.quad4.io/actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
|
||||||
|
|
||||||
- name: Set lowercase repository owner
|
- name: Set lowercase repository owner
|
||||||
run: echo "REPO_OWNER_LC=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV
|
run: echo "REPO_OWNER_LC=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
|
uses: https://git.quad4.io/docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
|
uses: https://git.quad4.io/docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
|
||||||
|
|
||||||
- name: Log in to the GitHub Container registry
|
- name: Log in to the GitHub Container registry
|
||||||
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
|
uses: https://git.quad4.io/docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Docker images
|
- name: Build and push Docker images
|
||||||
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
|
uses: https://git.quad4.io/docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout repository"
|
- name: "Checkout repository"
|
||||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
uses: https://git.quad4.io/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||||
|
|
||||||
- name: "Dependency Review"
|
- name: "Dependency Review"
|
||||||
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4
|
uses: https://git.quad4.io/actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4
|
||||||
with:
|
with:
|
||||||
comment-summary-in-pr: always
|
comment-summary-in-pr: always
|
||||||
|
|||||||
Reference in New Issue
Block a user