Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update actions/upload-artifact action to v4 #217

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
pnpm run test.lint

- name: Upload Dist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: |
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- uses: actions/checkout@v4

- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
pnpm run pack.exe

- name: Upload Executables
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: exe
path: |
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
submodules: true

- name: Download Dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
submodules: true

- name: Download Dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist

Expand All @@ -255,7 +255,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Download All Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Place Artifacts
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions dist/actions/actions_python.bfd29453.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/actions/actions_python.bfd29453.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/actions/actions_python.e4ef0efb.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/actions/actions_python.e4ef0efb.js.map

This file was deleted.

35 changes: 17 additions & 18 deletions dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/legacy/actions_python.92140582.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/legacy/actions_python.92140582.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions dist/legacy/actions_python.c7411d6b.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/legacy/actions_python.c7411d6b.js.map

Large diffs are not rendered by default.

35 changes: 17 additions & 18 deletions dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions dist/modern/actions_python.6be0dfa4.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/modern/actions_python.6be0dfa4.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions dist/modern/actions_python.c36737fd.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/modern/actions_python.c36737fd.js.map

This file was deleted.

35 changes: 17 additions & 18 deletions dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@
"alias": {
"electron": false,
"patha": "patha/dist/index.node.mjs",
"admina": "admina/dist/index.mjs"
"admina": "admina/dist/index.mjs",
"fs/promises": "./src/utils/compat/fs/promises.ts"
},
"pnpm": {
"overrides": {
Expand Down
29 changes: 29 additions & 0 deletions src/utils/compat/fs/promises.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { promises } from "fs"
export default promises

export const {
access,
appendFile,
chmod,
chown,
copyFile,
lchmod,
lchown,
link,
lstat,
mkdir,
mkdtemp,
open,
readdir,
readFile,
readlink,
realpath,
rename,
rmdir,
stat,
symlink,
truncate,
unlink,
utimes,
writeFile,
} = promises
Loading