Skip to content

Commit a41c427

Browse files
author
Jonathan Esposito
committed
Added workflow
1 parent ec7faff commit a41c427

File tree

2 files changed

+59
-1
lines changed

2 files changed

+59
-1
lines changed

.github/workflows/data.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: "3.10"
16+
- run: |
17+
python -m pip install --upgrade pip
18+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
19+
- run: |
20+
python build.py
21+
zip
22+
- name: Zip
23+
run: |
24+
zip --junk-paths monokai-pro output
25+
- name: Create Release
26+
id: create_release
27+
uses: actions/create-release@v1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
with:
31+
tag_name: ${{ github.ref }}
32+
release_name: Release ${{ github.ref }}
33+
body: |
34+
Changes in this Release
35+
- First Change
36+
- Second Change
37+
draft: false
38+
prerelease: false
39+
- name: Create Release
40+
id: create_release
41+
uses: actions/create-release@v1
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
with:
45+
tag_name: ${{ github.ref }}
46+
release_name: Release ${{ github.ref }}
47+
draft: false
48+
prerelease: false
49+
- name: Upload Release Asset
50+
id: upload-release-asset
51+
uses: actions/upload-release-asset@v1
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
with:
55+
upload_url: ${{ steps.create_release.outputs.upload_url }}
56+
asset_path: ./monokai-pro.zip
57+
asset_name: monokai-pro.zip
58+
asset_content_type: application/zip

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ The unofficial Monokai Pro theme, adapted by [Subtheme](https://subtheme.dev). T
55
This theme is functionally complete for JetBrains, but more work is needed to match language specific colors with the official theme (as seen in Sublime or VSCode). Focus is currently on Java and Python, but pull requests are welcome for any language.
66

77
Supported apps:
8-
- [JetBrains](theme/jetbrains)
98
- [iTerm](theme/iterm)
9+
- [JetBrains](theme/jetbrains)
1010
- [Lapce](theme/lapce)
1111
- [Terminal](theme/terminal)
1212

0 commit comments

Comments
 (0)