Add build-local render and release workflows
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Package resourcepack release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Package resourcepack and create release
|
||||
env:
|
||||
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
GITEA_SERVER_URL: ${{ github.server_url }}
|
||||
GITEA_REPOSITORY: ${{ github.repository }}
|
||||
run: python build/scripts/publish_resourcepack_release.py --resourcepack-root resourcepack --archive-path build/resourcepack.zip --tag ${{ github.ref_name }}
|
||||
Reference in New Issue
Block a user