Comments (3)
The error you're seeing is due to GitHub deprecating versions v1
and v2
of the actions/upload-artifact
action. To fix this on your deployed GitHub Pages, you need to update your workflow file to use the latest version (v3
) of actions/upload-artifact
.
Here's how you can do it:
- Open your GitHub repository.
- Navigate to the
.github/workflows/
directory where your workflow YAML files are stored. - Edit the relevant workflow file (likely named something like
deploy.yml
orci.yml
). - Locate the usage of
actions/upload-artifact@v2
and replace it withactions/upload-artifact@v3
.
For example, if your workflow currently looks like this:
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: my-artifact
path: path/to/artifact
Change it to:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: my-artifact
path: path/to/artifact
- Commit and push the changes to your repository.
After making these changes, your workflow should be able to run successfully without triggering the deprecated version error.
Let me know if you need further assistance!
from reactjs.org.
changing from actions/upload-artifact@v2
to v3
helped my workflows as well.
from reactjs.org.
Related Issues (20)
- [Suggestion]: Data Fetching Design Patterns in React 18
- Close
- Close
- Link inexistente
- [Bug]: `importMap` option on `renderTo{Pipeable|Readable}Stream` is undocumented HOT 3
- The server for which the cat images were being source is down (https://placekitten.com/)
- [Typo]: Missing Blank Line Between Import Statements and Code Block in Sample Code
- Close
- [Suggestion]: use toSorted and toReversed for the examples in Updating Array in State Page HOT 2
- The Link do not work HOT 2
- Mosibl policy HOT 2
- Not Found This page doesn’t exist. HOT 1
- https://react.dev/docs/lists-and-keys.html#keys is 404 not found HOT 1
- ReactJS
- [Bug]: React 16 docs redirect to React 17 with no explanation HOT 1
- [Suggestion]: The official way to build a simple static generated website (SSG) without Next.js
- `rss.js` page error for the author, date and description HOT 1
- Always Fail PR at analyze job. HOT 1
- “React Server Component“ link is not available in zh-hans.react.dev HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reactjs.org.