mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 05:39:12 +00:00
Upgrade upload-artifact gh action to v4 as <=v3 deprecated
This started failing github workflow jobs
This commit is contained in:
10
.github/workflows/desktop.yml
vendored
10
.github/workflows/desktop.yml
vendored
@@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
- name: ⏫ Upload Mac ARM App
|
- name: ⏫ Upload Mac ARM App
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
name: khoj-${{ github.ref_name }}-arm64.dmg
|
name: khoj-${{ github.ref_name }}-arm64.dmg
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
- name: ⏫ Upload Mac x64 App
|
- name: ⏫ Upload Mac x64 App
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
name: khoj-${{ github.ref_name }}-x64.dmg
|
name: khoj-${{ github.ref_name }}-x64.dmg
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
|
|
||||||
- name: ⏫ Upload Windows App
|
- name: ⏫ Upload Windows App
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
name: khoj-${{ github.ref_name }}-x64.exe
|
name: khoj-${{ github.ref_name }}-x64.exe
|
||||||
@@ -84,7 +84,7 @@ jobs:
|
|||||||
|
|
||||||
- name: ⏫ Upload Debian App
|
- name: ⏫ Upload Debian App
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
name: khoj-${{ github.ref_name }}-x64.deb
|
name: khoj-${{ github.ref_name }}-x64.deb
|
||||||
@@ -92,7 +92,7 @@ jobs:
|
|||||||
|
|
||||||
- name: ⏫ Upload Linux App Image
|
- name: ⏫ Upload Linux App Image
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: warn
|
if-no-files-found: warn
|
||||||
name: khoj-${{ github.ref_name }}-x64.AppImage
|
name: khoj-${{ github.ref_name }}-x64.AppImage
|
||||||
|
|||||||
8
.github/workflows/github_pages_deploy.yml
vendored
8
.github/workflows/github_pages_deploy.yml
vendored
@@ -17,10 +17,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
# 👇 Build steps
|
# 👇 Build steps
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: yarn
|
cache: yarn
|
||||||
@@ -35,9 +35,9 @@ jobs:
|
|||||||
yarn build
|
yarn build
|
||||||
# 👆 Build steps
|
# 👆 Build steps
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v5
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
# 👇 Specify build output path
|
# 👇 Specify build output path
|
||||||
path: documentation/build
|
path: documentation/build
|
||||||
|
|||||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -35,21 +35,21 @@ jobs:
|
|||||||
yarn run build --if-present
|
yarn run build --if-present
|
||||||
|
|
||||||
- name: ⏫ Upload Obsidian Plugin main.js
|
- name: ⏫ Upload Obsidian Plugin main.js
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: main.js
|
name: main.js
|
||||||
path: src/interface/obsidian/main.js
|
path: src/interface/obsidian/main.js
|
||||||
|
|
||||||
- name: ⏫ Upload Obsidian Plugin manifest.json
|
- name: ⏫ Upload Obsidian Plugin manifest.json
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: manifest.json
|
name: manifest.json
|
||||||
path: src/interface/obsidian/manifest.json
|
path: src/interface/obsidian/manifest.json
|
||||||
|
|
||||||
- name: ⏫ Upload Obsidian Plugin styles.css
|
- name: ⏫ Upload Obsidian Plugin styles.css
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: styles.css
|
name: styles.css
|
||||||
|
|||||||
2
.github/workflows/run_evals.yml
vendored
2
.github/workflows/run_evals.yml
vendored
@@ -133,7 +133,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload Results
|
- name: Upload Results
|
||||||
if: always() # Upload results even if tests fail
|
if: always() # Upload results even if tests fail
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: eval-results-${{ steps.hatch.outputs.version }}-${{ matrix.khoj_mode }}-${{ matrix.dataset }}
|
name: eval-results-${{ steps.hatch.outputs.version }}-${{ matrix.khoj_mode }}-${{ matrix.dataset }}
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
Reference in New Issue
Block a user