mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-12-19 20:12:52 +02:00
CI: Fixing the Fix
First checkout the base, then nested stuff... Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
b64ee780f6
commit
c78ca635df
5
.github/workflows/casks.yml
vendored
5
.github/workflows/casks.yml
vendored
@ -14,11 +14,10 @@ jobs:
|
||||
name: Create casks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch stuff (no checkout)
|
||||
- name: Fetch stuff
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: |
|
||||
bin/scripts
|
||||
sparse-checkout: bin/scripts
|
||||
- name: Fetch release artifacts
|
||||
run: |
|
||||
cd bin/scripts
|
||||
|
15
.github/workflows/contributors.yml
vendored
15
.github/workflows/contributors.yml
vendored
@ -14,22 +14,19 @@ jobs:
|
||||
name: Update gh-pages contributors
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch pages from gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: gh-pages
|
||||
- name: Get details and script from default branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: |
|
||||
.
|
||||
bin/scripts
|
||||
sparse-checkout: bin/scripts
|
||||
path: master
|
||||
- name: Fetch old from gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: _posts
|
||||
ref: gh-pages
|
||||
- name: Combine branches
|
||||
run: |
|
||||
mkdir -p bin
|
||||
cp master/CONTRIBUTORS.md .
|
||||
mkdir -p bin/scripts
|
||||
mv master/bin/scripts bin/scripts
|
||||
- name: Update the page
|
||||
run: |
|
||||
|
23
.github/workflows/fontjson.yml
vendored
23
.github/workflows/fontjson.yml
vendored
@ -11,27 +11,22 @@ jobs:
|
||||
sync_pages:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch files
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: bin/scripts/lib
|
||||
|
||||
- name: Prepare file
|
||||
run: |
|
||||
echo "Temp dir is /tmp"
|
||||
cp bin/scripts/lib/fonts.json /tmp
|
||||
ls -l /tmp/fonts.json
|
||||
|
||||
- name: Fetch gh-pages
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: gh-pages
|
||||
|
||||
- name: Prepare file 2
|
||||
- name: Fetch files
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: bin/scripts/lib
|
||||
path: master
|
||||
|
||||
- name: Prepare file
|
||||
run: |
|
||||
ls -l /tmp/fonts.json
|
||||
mkdir temp_data
|
||||
cp /tmp/fonts.json temp_data
|
||||
cp master/bin/scripts/lib/fonts.json temp_data
|
||||
ls -l temp_data
|
||||
|
||||
- name: Deploy to gh-pages
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
|
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -29,11 +29,10 @@ jobs:
|
||||
if: ${{ github.repository_owner == 'ryanoasis' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Fetch information
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: |
|
||||
.
|
||||
bin/scripts
|
||||
sparse-checkout: bin/scripts
|
||||
|
||||
- name: Determine font matrix
|
||||
id: set-matrix
|
||||
|
Loading…
Reference in New Issue
Block a user