Looks complete

This commit is contained in:
Cyber MacGeddon 2024-10-04 18:14:51 +01:00
parent ab184349e8
commit 7cfe95e672

View file

@ -4,10 +4,10 @@ name: Build
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
# branches: branches:
# - release/v0.12 - release/v0.12
# tags: tags:
# - v0.12.* - v0.12.*
permissions: permissions:
contents: read contents: read
@ -46,24 +46,24 @@ jobs:
run: echo VERSION=sha-$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT run: echo VERSION=sha-$(git rev-parse --short HEAD) >> $GITHUB_OUTPUT
- name: Build packages - name: Build packages
run: make packages run: make packages VERSION=${{ steps.version.outputs.VERSION }}
# - name: Publish release distributions to PyPI - name: Publish release distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
- name: Create deploy bundle - name: Create deploy bundle
run: templates/generate-all deploy.zip v${{ steps.version.outputs.VERSION }} run: templates/generate-all deploy.zip v${{ steps.version.outputs.VERSION }}
# - uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1
# with: with:
# artifacts: deploy.zip artifacts: deploy.zip
# generateReleaseNotes: true generateReleaseNotes: true
# makeLatest: false makeLatest: false
# prerelease: true prerelease: true
# skipIfReleaseExists: true skipIfReleaseExists: true
- name: Build container - name: Build container
run: make container run: make container VERSION=${{ steps.version.outputs.VERSION }}
- name: Extract metadata for container - name: Extract metadata for container
id: meta id: meta