mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-01 00:49:56 +00:00
Merge branch 'main' into changes
This commit is contained in:
commit
82f13a2d6e
35
.github/workflows/pkgbuild.yml
vendored
35
.github/workflows/pkgbuild.yml
vendored
|
@ -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
38
.github/workflows/pypi_deps.yml
vendored
Normal 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
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "build-aux/flatpak/pypi-dependencies",
|
"name": "pypi-dependencies",
|
||||||
"buildsystem": "simple",
|
"buildsystem": "simple",
|
||||||
"build-commands": [],
|
"build-commands": [],
|
||||||
"modules": [
|
"modules": [
|
||||||
|
|
Loading…
Reference in a new issue