Skip to content

Commit

Permalink
Merge pull request #25 from MintCoolMC/dev_progress
Browse files Browse the repository at this point in the history
update workflow
  • Loading branch information
MintCoolMC authored Apr 28, 2024
2 parents ac8c9ce + 0685b42 commit bfed2a9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
release:
types: [created, published, prereleased]

permissions:
contents: write
packages: write

jobs:
zip-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Python version
run: |
python --version
- name: Downgrade setuptools
run: |
pip install "setuptools<58.0.0"
- name: Install demjson
run: |
pip install demjson
- name: Run zipmcproject.py
run: |
python zipmcproject.py
- name: Upload
uses: softprops/action-gh-release@v2
with:
files: "*.mcpack"

0 comments on commit bfed2a9

Please sign in to comment.