setup-python VS upload-pages-artifact

Compare setup-python vs upload-pages-artifact and see what are their differences.

setup-python

Set up your GitHub Actions workflow with a specific version of Python (by actions)

upload-pages-artifact

A composite action for packaging and uploading an artifact that can be deployed to GitHub Pages. (by actions)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
setup-python upload-pages-artifact
11 2
1,537 246
2.1% 5.3%
6.7 6.5
18 days ago 7 days ago
TypeScript Shell
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

setup-python

Posts with mentions or reviews of setup-python. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-22.
  • CI/CI deploy a static website to AWS S3 bucket through Github Actions
    5 projects | dev.to | 22 Dec 2023
    Run a local host with the static website content with Python setup Github Actions
  • Disable Annotations in Github Actions
    5 projects | dev.to | 3 Sep 2023
    setup-python
  • Building project docs for GitHub Pages
    7 projects | dev.to | 29 Aug 2023
    The first two steps are setting up the job's environment. The checkout action will checkout out the repository at the triggering ref. The setup-python action will setup the desired Python runtime. My package supports Python 3.9+ so I'm targeting the minimum version for my build environments.
  • Gotchas when building GitHub self-hosted runners with AWS official AMIs/container images for Python apps
    2 projects | dev.to | 30 Sep 2022
    actions/setup-python@v4 does not support arm64 (https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json). See related Open issue https://github.com/actions/setup-python/issues/108.
  • Top 10 GitHub Actions You Should Use to set up your CI/CD Pipeline
    5 projects | dev.to | 12 Sep 2022
    The most popular ones are Node.js, Python, Java JDK, Go, .Net Core SDK.
  • Deploy Azure Static Web Apps using Python
    5 projects | dev.to | 3 Aug 2022
    To build your environment in GH Actions you'll need to add a block to your yaml file BEFORE the Azure Build and Deploy section. You'll need to include the setup-python action and specify the python version you would like to use. Use the major version of your python version so 3.10 and NOT 3.10.5. For more information and options on this you can check out the Setup-Python GH actions repo.
  • Deploying to GitHub Pages using GitHub Actions
    10 projects | dev.to | 25 Jan 2022
    Next up we'll need to add a step to compile our production ready build. For this we can add two new steps, one which configures our Node version to ensure it matches our application, followed by another that runs the necessary commands with npm. Depending on how your application is built you may need to add another step between these to install any sort of required environments such as Python or Java.
  • Air Quality - Pollutant Index - India
    2 projects | dev.to | 24 Nov 2021
    Python 3.9 is setup using actions/[email protected] and the pip packages are cached
  • Prefect CLI Action
    4 projects | dev.to | 21 Nov 2021
    It requires that the checkout and setup-python actions be used first.
  • Python CI/CD with GitHub Actions
    6 projects | dev.to | 9 May 2021
    First, we have to checkout the repository in GitHub Actions using GitHub's own checkout action. Then, we have to set up the Python version using GitHub's setup-python action. Finally, we can use Black's provided GitHub Action for checking formatting - it runs black --check --diff on the workflow runner's clone of the repo and outputs an error code if any Python file in the repo fails Black's formatting rules. Note that Black fails if the AST cannot be parsed (i.e. if there are any syntax errors), so it can also be used for checking syntax correctness, which itself is a good proxy for checking for merge conflict strings.

upload-pages-artifact

Posts with mentions or reviews of upload-pages-artifact. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-29.
  • Building project docs for GitHub Pages
    7 projects | dev.to | 29 Aug 2023
    The action for uploading the artifact doesn't do too much, but it takes care of all the nuance around GitHub Pages artifacts specifically. You can view the action's source here. It will tar the path (provided by the with option) and then call the upload artifact action. The artifact's name is github-pages and has a 1 day expiration. This artifact has the name and format required for the deploy action. It all just works (so far).

What are some alternatives?

When comparing setup-python and upload-pages-artifact you can also consider the following projects:

checkout - Action for checking out a repo

upload-artifact

cache - Cache dependencies and build outputs in GitHub Actions

deploy-pages - GitHub Action to publish artifacts to GitHub Pages for deployments

virtual-environments - GitHub Actions runner images [Moved to: https://github.com/actions/runner-images]

pages-gem - A simple Ruby Gem to bootstrap dependencies for setting up and maintaining a local Jekyll environment in sync with GitHub Pages

pyenv - Simple Python version management

black - The uncompromising Python code formatter

github-pages-deploy-action - 🚀 Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.

fetch-api-data-action - 🚚 GitHub action for handling authenticated API requests, allowing you to save the data from the request into your workspace as an environment variable and a .json file.