Release @ Delta Aegis Icons - cb62d23da2183f7537d95b16a9fb0b333b8ee1fc #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
run-name: Release @ Delta Aegis Icons - ${{ github.sha }} | |
on: | |
workflow_dispatch: | |
env: | |
zipname: delta-aegis-icons.zip | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get current date | |
run: echo "CURRENT_DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Execute py script | |
run: python make-pack.py gen-def | |
- name: Commit json | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update pack.json | |
- name: Execute py script | |
run: python make-pack.py gen --output ${{ env.zipname }} --version ${{ env.CURRENT_DATE }} | |
- name: Create a GitHub release | |
uses: softprops/[email protected] | |
with: | |
files: ${{ env.zipname }} | |
name: v${{ env.CURRENT_DATE }} | |
tag_name: v${{ env.CURRENT_DATE }} | |