From cb955f4b4c8f8f9a1343d022813bace675ee5e44 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Sun, 13 Jun 2021 10:26:42 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20.github=20directory=20init?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/FUNDING.yml | 2 + .github/stale.yml | 17 +++++++ .github/workflows/build.yml | 89 +++++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 .github/FUNDING.yml create mode 100644 .github/stale.yml create mode 100644 .github/workflows/build.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..9e754bd --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,2 @@ +patreon: KaizKhatri +custom: https://www.paypal.me/kaizkhatri diff --git a/.github/stale.yml b/.github/stale.yml new file mode 100644 index 0000000..dc90e5a --- /dev/null +++ b/.github/stale.yml @@ -0,0 +1,17 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 60 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - pinned + - security +# Label to use when marking an issue as stale +staleLabel: wontfix +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fcca304 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,89 @@ +name: build + +on: + push: + paths-ignore: + - "**.md" + - "**.bbcode" + - LICENSE + branches: [main, dev] + pull_request: + paths-ignore: + - "**.md" + - "**.bbcode" + - LICENSE + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install build dependencies (apt) + run: sudo apt install -y libx11-dev libxcursor-dev libpng-dev + continue-on-error: false + - name: Get yarn cache directory path + id: yarn-cache-dir-path + run: echo "::set-output name=dir::$(yarn cache dir)" + - name: Caching yarn packages + uses: actions/cache@v2 + id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) + with: + path: ${{ steps.yarn-cache-dir-path.outputs.dir }} + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - name: Set Up NodeJS 12.x + uses: actions/setup-node@v1 + with: + node-version: "12.x" + - name: Caching pip packages + uses: actions/cache@v2 + id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`) + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} + restore-keys: | + ${{ runner.os }}-pip- + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: "3.8" + - name: Generating `BreezeX` Cursor Theme + run: make + continue-on-error: false + + - name: Compressing UNIX theme + run: | + tar -cvzf BreezeX-Dark.tar.gz themes/BreezeX-Dark + tar -cvzf BreezeX-Light.tar.gz themes/BreezeX-Light + + - name: Uploading `bitmaps` artifact + uses: actions/upload-artifact@v2 + with: + name: bitmaps + path: bitmaps/* + + - name: Uploading `BreezeX-Dark` UNIX Theme artifact + uses: actions/upload-artifact@v2 + with: + name: BreezeX-Dark + path: BreezeX-Dark.tar.gz + + - name: Uploading `BreezeX-Light` UNIX Theme artifact + uses: actions/upload-artifact@v2 + with: + name: BreezeX-Light + path: BreezeX-Light.tar.gz + + - name: Uploading `BreezeX-Dark` Windows Theme artifact + uses: actions/upload-artifact@v2 + with: + name: BreezeX-Dark-Windows + path: themes/BreezeX-Dark-Windows/* + + - name: Uploading `BreezeX-Light` Windows Theme artifact + uses: actions/upload-artifact@v2 + with: + name: BreezeX-Light-Windows + path: themes/BreezeX-Light-Windows/*