Giter Club home page Giter Club logo

actiontry's Introduction

actiontry

Understanding Github Actions And Using Beeware Briefcase In A Github Workflow

Intro

This project is for my own understanding and memory, and does the following :

  1. Uses beeware briefcase to generate appimage file in a github workflow
  2. shows probably the simplest way to use a github action to create release with a binary installation file

How to use

Check the two workflows in the .github/workflows directory of this repo. Both these workflows are set to be run manually.

  1. appimage.yml: shows a very simple github workflow for creating the appimage from the code in the repository, and releases it as a draft. This particular project uses beeware briefcase for build , and generates an Appimage for linux systems, you can use any build options of choice. From briefcase perspective, The important thing to note here is that briefcase config file pyproject.toml should be present at the root of the project and the source should be in src directory

  2. workflow2.yml includes all the code in appimage.yml , but goes one step further and takes user input for a tag. Then it uses this info to create a public release with all the files. This is the more useful, but slightly more complex than appimage.yml

  3. workflowmulti.yml Includes all the code in above two workflows, but also creates a .deb file along with the usual .Appimage file. Both are created in a single job which is run on a Ubuntu runner as before. This makes it a simple extension of above workflows. Had we needed to create an i installer for Windows, we would have needed a windows runner as well.

Outro

© Rahul Singh

actiontry's People

Contributors

rahlumin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.