mirror of
https://github.com/kristoferssolo/Tetris.git
synced 2025-10-21 20:00:35 +00:00
chore(gh-actions): add automated release
fix: indentations
This commit is contained in:
parent
c79bdef3b3
commit
f1e8994eb8
25
.github/workflows/release.yml
vendored
Normal file
25
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install build
|
||||
- name: Build package
|
||||
run: python -m build
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: dist/*.tar.gz
|
||||
6
.github/workflows/typst.yml
vendored
6
.github/workflows/typst.yml
vendored
@ -1,9 +1,7 @@
|
||||
name: Build Typst document
|
||||
on:
|
||||
push:
|
||||
- main
|
||||
pull_request:
|
||||
- main
|
||||
push: main
|
||||
pull_request: main
|
||||
jobs:
|
||||
typst-build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Loading…
Reference in New Issue
Block a user