👷 CI & PR template updated

This commit is contained in:
ful1e5 2021-08-24 16:47:02 +05:30
parent f6d3f6c743
commit 076537e770
2 changed files with 88 additions and 93 deletions

View file

@ -1,35 +1,9 @@
<!--
Please make sure you are familiar with and follow the instructions in the
contributing guidelines (found in the CONTRIBUTING.md file).
Please fill out the information below to expedite the review and (hopefully)
merge of your pull request!
-->
## What kind of change does this PR introduce?
<!-- Is it a Bug fix, feature, docs update, ... -->
## What is the current behavior?
<!-- You can also link to an open issue here -->
## What is the new behavior?
<!-- if this is a feature change -->
## What steps did you take to test this? This is required before I can merge, make sure to test the flow you've updated.
1. Step A
2. Step B
3. Step C
## Checklist
<!-- Have you done all of these things? -->
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
- [ ] Documentation
- [ ] Testing <!-- We can only merge the PR if this is checked -->
- [ ] Ready to be merged
@ -37,5 +11,4 @@ merge of your pull request!
- [ ] Added myself to contributors table
<!-- this is optional, see the contributing guidelines for instructions -->
<!-- feel free to add additional comments -->
<!-- Thank you for contributing! -->

View file

@ -33,10 +33,12 @@ jobs:
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'`)
@ -45,27 +47,47 @@ jobs:
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 `macOSBigSur` Cursor Theme
run: make
continue-on-error: false
- name: Compressing UNIX theme
run: tar -cvzf macOSBigSur.tar.gz themes/macOSBigSur
run: |
tar -cvzf macOSBigSur.tar.gz themes/macOSBigSur
tar -cvzf macOSBigSur-White.tar.gz themes/macOSBigSur-White
- name: Uploading `bitmaps` artifact
uses: actions/upload-artifact@v2
with:
name: bitmaps
path: bitmaps/*
- name: Uploading `macOSBigSur` UNIX Theme artifact
uses: actions/upload-artifact@v2
with:
name: macOSBigSur
path: macOSBigSur.tar.gz
- name: Uploading `macOSBigSur-White` UNIX Theme artifact
uses: actions/upload-artifact@v2
with:
name: macOSBigSur-White
path: macOSBigSur-White.tar.gz
- name: Uploading `macOSBigSur` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
name: macOSBigSur_Windows
path: themes/macOSBigSur_Windows/*
name: macOSBigSur-Windows
path: themes/macOSBigSur-Windows/*
- name: Uploading `macOSBigSur-White` Windows Theme artifact
uses: actions/upload-artifact@v2
with:
name: macOSBigSur-White-Windows
path: themes/macOSBigSur-White-Windows/*