fix(ci): use self-hosted Gitea action mirrors instead of GitHub
Some checks failed
Build and Test / build (pull_request) Has been cancelled
Some checks failed
Build and Test / build (pull_request) Has been cancelled
Replace all GitHub action URLs with self-hosted mirrors at git.kindred-systems.com/actions/: - checkout@v4 - cache/restore@v4, cache/save@v4 - upload-artifact@v3 - download-artifact@v3 This removes the external GitHub dependency from CI/CD workflows.
This commit is contained in:
@@ -42,7 +42,7 @@ jobs:
|
||||
libxcb-xkb-dev libfontconfig1-dev
|
||||
|
||||
- name: Checkout repository
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
uses: https://git.kindred-systems.com/actions/checkout.git@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 1
|
||||
@@ -67,7 +67,7 @@ jobs:
|
||||
|
||||
- name: Restore ccache
|
||||
id: ccache-restore
|
||||
uses: https://github.com/actions/cache/restore@v4
|
||||
uses: https://git.kindred-systems.com/actions/cache.git/restore@v4
|
||||
with:
|
||||
path: /tmp/ccache-kindred-create
|
||||
key: ccache-build-${{ github.ref_name }}-${{ steps.cache-date.outputs.date }}
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
|
||||
- name: Save ccache
|
||||
if: always() && steps.ccache-restore.outputs.cache-hit != 'true'
|
||||
uses: https://github.com/actions/cache/save@v4
|
||||
uses: https://git.kindred-systems.com/actions/cache.git/save@v4
|
||||
with:
|
||||
path: /tmp/ccache-kindred-create
|
||||
key: ccache-build-${{ github.ref_name }}-${{ steps.cache-date.outputs.date }}
|
||||
@@ -129,7 +129,7 @@ jobs:
|
||||
echo "ARTIFACT_NAME=${ARTIFACT_NAME}" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload build artifact
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
uses: https://git.kindred-systems.com/actions/upload-artifact.git@v3
|
||||
with:
|
||||
name: ${{ env.ARTIFACT_NAME }}
|
||||
path: |
|
||||
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
libxcb-xkb-dev libfontconfig1-dev
|
||||
|
||||
- name: Checkout repository
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
uses: https://git.kindred-systems.com/actions/checkout.git@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 1
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
|
||||
- name: Restore ccache
|
||||
id: ccache-restore
|
||||
uses: https://github.com/actions/cache/restore@v4
|
||||
uses: https://git.kindred-systems.com/actions/cache.git/restore@v4
|
||||
with:
|
||||
path: /tmp/ccache-kindred-create
|
||||
key: ccache-release-linux-${{ steps.cache-date.outputs.date }}
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
|
||||
- name: Save ccache
|
||||
if: always() && steps.ccache-restore.outputs.cache-hit != 'true'
|
||||
uses: https://github.com/actions/cache/save@v4
|
||||
uses: https://git.kindred-systems.com/actions/cache.git/save@v4
|
||||
with:
|
||||
path: /tmp/ccache-kindred-create
|
||||
key: ccache-release-linux-${{ steps.cache-date.outputs.date }}
|
||||
@@ -131,7 +131,7 @@ jobs:
|
||||
ls -lah package/rattler-build/linux/*-SHA256.txt 2>/dev/null || true
|
||||
|
||||
- name: Upload Linux artifacts
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
uses: https://git.kindred-systems.com/actions/upload-artifact.git@v3
|
||||
with:
|
||||
name: release-linux
|
||||
path: |
|
||||
@@ -170,7 +170,7 @@ jobs:
|
||||
#
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: https://github.com/actions/checkout@v4
|
||||
# uses: https://git.kindred-systems.com/actions/checkout.git@v4
|
||||
# with:
|
||||
# submodules: recursive
|
||||
# fetch-depth: 1
|
||||
@@ -187,7 +187,7 @@ jobs:
|
||||
#
|
||||
# - name: Restore ccache
|
||||
# id: ccache-restore
|
||||
# uses: https://github.com/actions/cache/restore@v4
|
||||
# uses: https://git.kindred-systems.com/actions/cache.git/restore@v4
|
||||
# with:
|
||||
# path: /tmp/ccache-kindred-create
|
||||
# key: ccache-release-macos-${{ matrix.arch }}-${{ github.sha }}
|
||||
@@ -210,7 +210,7 @@ jobs:
|
||||
#
|
||||
# - name: Save ccache
|
||||
# if: always()
|
||||
# uses: https://github.com/actions/cache/save@v4
|
||||
# uses: https://git.kindred-systems.com/actions/cache.git/save@v4
|
||||
# with:
|
||||
# path: /tmp/ccache-kindred-create
|
||||
# key: ccache-release-macos-${{ matrix.arch }}-${{ github.sha }}
|
||||
@@ -221,7 +221,7 @@ jobs:
|
||||
# ls -lah package/rattler-build/osx/*.dmg* 2>/dev/null || true
|
||||
#
|
||||
# - name: Upload macOS artifacts
|
||||
# uses: https://github.com/actions/upload-artifact@v3
|
||||
# uses: https://git.kindred-systems.com/actions/upload-artifact.git@v3
|
||||
# with:
|
||||
# name: release-macos-${{ matrix.arch }}
|
||||
# path: |
|
||||
@@ -250,7 +250,7 @@ jobs:
|
||||
#
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: https://github.com/actions/checkout@v4
|
||||
# uses: https://git.kindred-systems.com/actions/checkout.git@v4
|
||||
# with:
|
||||
# submodules: recursive
|
||||
# fetch-depth: 1
|
||||
@@ -269,7 +269,7 @@ jobs:
|
||||
#
|
||||
# - name: Restore ccache
|
||||
# id: ccache-restore
|
||||
# uses: https://github.com/actions/cache/restore@v4
|
||||
# uses: https://git.kindred-systems.com/actions/cache.git/restore@v4
|
||||
# with:
|
||||
# path: C:\ccache-kindred-create
|
||||
# key: ccache-release-windows-${{ github.sha }}
|
||||
@@ -285,7 +285,7 @@ jobs:
|
||||
#
|
||||
# - name: Save ccache
|
||||
# if: always()
|
||||
# uses: https://github.com/actions/cache/save@v4
|
||||
# uses: https://git.kindred-systems.com/actions/cache.git/save@v4
|
||||
# with:
|
||||
# path: C:\ccache-kindred-create
|
||||
# key: ccache-release-windows-${{ github.sha }}
|
||||
@@ -299,7 +299,7 @@ jobs:
|
||||
# ls -lah package/rattler-build/windows/*-SHA256.txt 2>/dev/null || true
|
||||
#
|
||||
# - name: Upload Windows artifacts
|
||||
# uses: https://github.com/actions/upload-artifact@v3
|
||||
# uses: https://git.kindred-systems.com/actions/upload-artifact.git@v3
|
||||
# with:
|
||||
# name: release-windows
|
||||
# path: |
|
||||
@@ -320,7 +320,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Download all artifacts
|
||||
uses: https://github.com/actions/download-artifact@v3
|
||||
uses: https://git.kindred-systems.com/actions/download-artifact.git@v3
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user