mirror of
https://github.com/infeeeee/dyn2py
synced 2025-12-16 22:16:18 +01:00
Update docs, workflows
This commit is contained in:
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@@ -9,12 +9,14 @@ permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout
|
||||
- uses: actions/setup-python@v4
|
||||
name: Setup Python
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
@@ -27,11 +29,30 @@ jobs:
|
||||
run: pyinstaller dyn2py.spec
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
name: Upload artifact
|
||||
with:
|
||||
name: dyn2py.exe
|
||||
path: dist/dyn2py.exe
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Checkout
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
uses: metcalfc/changelog-generator@v4.1.0
|
||||
with:
|
||||
myToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: dyn2py.exe
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
files: dist/dyn2py.exe
|
||||
files: dyn2py.exe
|
||||
body: ${{ steps.modified.outputs.log }}
|
||||
|
||||
# TODO: pip
|
||||
|
||||
5
.github/workflows/website.yml
vendored
5
.github/workflows/website.yml
vendored
@@ -2,9 +2,8 @@ name: Deploy website
|
||||
|
||||
on:
|
||||
push:
|
||||
# Only build for tags.
|
||||
tags:
|
||||
- "*"
|
||||
branches:
|
||||
- main
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
Reference in New Issue
Block a user