Skip to content

Commit 2069f57

Browse files
committed
Upgrade upload-artifact gh action to v4 as <=v3 deprecated
This started failing github workflow jobs
1 parent dd63bd8 commit 2069f57

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/workflows/desktop.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,39 +60,39 @@ jobs:
6060
6161
- name: ⏫ Upload Mac ARM App
6262
if: startsWith(github.ref, 'refs/tags/')
63-
uses: actions/upload-artifact@v3
63+
uses: actions/upload-artifact@v4
6464
with:
6565
if-no-files-found: warn
6666
name: khoj-${{ github.ref_name }}-arm64.dmg
6767
path: src/interface/desktop/khoj-${{ github.ref_name }}-arm64.dmg
6868

6969
- name: ⏫ Upload Mac x64 App
7070
if: startsWith(github.ref, 'refs/tags/')
71-
uses: actions/upload-artifact@v3
71+
uses: actions/upload-artifact@v4
7272
with:
7373
if-no-files-found: warn
7474
name: khoj-${{ github.ref_name }}-x64.dmg
7575
path: src/interface/desktop/khoj-${{ github.ref_name }}-x64.dmg
7676

7777
- name: ⏫ Upload Windows App
7878
if: startsWith(github.ref, 'refs/tags/')
79-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
8080
with:
8181
if-no-files-found: warn
8282
name: khoj-${{ github.ref_name }}-x64.exe
8383
path: src/interface/desktop/khoj-${{ github.ref_name }}-x64.exe
8484

8585
- name: ⏫ Upload Debian App
8686
if: startsWith(github.ref, 'refs/tags/')
87-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8888
with:
8989
if-no-files-found: warn
9090
name: khoj-${{ github.ref_name }}-x64.deb
9191
path: src/interface/desktop/khoj-${{ github.ref_name }}-x64.deb
9292

9393
- name: ⏫ Upload Linux App Image
9494
if: startsWith(github.ref, 'refs/tags/')
95-
uses: actions/upload-artifact@v3
95+
uses: actions/upload-artifact@v4
9696
with:
9797
if-no-files-found: warn
9898
name: khoj-${{ github.ref_name }}-x64.AppImage

.github/workflows/github_pages_deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
# 👇 Build steps
2222
- name: Set up Node.js
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: 18.x
2626
cache: yarn
@@ -35,9 +35,9 @@ jobs:
3535
yarn build
3636
# 👆 Build steps
3737
- name: Setup Pages
38-
uses: actions/configure-pages@v3
38+
uses: actions/configure-pages@v5
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v2
40+
uses: actions/upload-pages-artifact@v3
4141
with:
4242
# 👇 Specify build output path
4343
path: documentation/build

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ jobs:
3535
yarn run build --if-present
3636
3737
- name: ⏫ Upload Obsidian Plugin main.js
38-
uses: actions/upload-artifact@v3
38+
uses: actions/upload-artifact@v4
3939
with:
4040
if-no-files-found: error
4141
name: main.js
4242
path: src/interface/obsidian/main.js
4343

4444
- name: ⏫ Upload Obsidian Plugin manifest.json
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
with:
4747
if-no-files-found: error
4848
name: manifest.json
4949
path: src/interface/obsidian/manifest.json
5050

5151
- name: ⏫ Upload Obsidian Plugin styles.css
52-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
5353
with:
5454
if-no-files-found: error
5555
name: styles.css

.github/workflows/run_evals.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
134134
- name: Upload Results
135135
if: always() # Upload results even if tests fail
136-
uses: actions/upload-artifact@v3
136+
uses: actions/upload-artifact@v4
137137
with:
138138
name: eval-results-${{ steps.hatch.outputs.version }}-${{ matrix.khoj_mode }}-${{ matrix.dataset }}
139139
path: |

0 commit comments

Comments
 (0)