Merge branch 'main' into changes

This commit is contained in:
0xMRTT 2022-09-04 20:02:32 +02:00 committed by GitHub
commit 82f13a2d6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 36 deletions

View file

@ -1,35 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: PKGBUILD
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
pkgbuild:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Makepkg Build and Check
id: makepkg
uses: edlanglois/pkgbuild-action@v1
with:
pkgdir: "build-aux/arch/gradience-git"
- name: Print Package Files
run: |
echo "Successfully created the following package archive"
echo "Package: ${{ steps.makepkg.outputs.pkgfile0 }}"
- name: Upload Package Archive
uses: actions/upload-artifact@v2
with:
path: ${{ steps.makepkg.outputs.pkgfile0 }}

38
.github/workflows/pypi_deps.yml vendored Normal file
View file

@ -0,0 +1,38 @@
# This is a basic workflow to help you get started with Actions
name: Generate PYPI Dependencies
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
paths: requirements.txt
pull_request:
branches: [ "main" ]
paths: requirements.txt
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
curl -O https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/master/pip/flatpak-pip-generator
chmod +x flatpak-pip-generator
python -m pip install requirements-parser
flatpak-pip-generator --requirements-file=requirements.txt --output pypi-dependencies

View file

@ -1,5 +1,5 @@
{
"name": "build-aux/flatpak/pypi-dependencies",
"name": "pypi-dependencies",
"buildsystem": "simple",
"build-commands": [],
"modules": [