Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrownell committed Jan 4, 2024
1 parent d1c4458 commit fdca2d7
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/actions/validate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,3 @@ runs:
python Build.py Test --min-coverage 50.0
# BugBug python Build.py Test --min-coverage 90.0

- name: Update Version
shell: ${{ inputs.shell_name }}
run: |-
${{ inputs.source_command }} ${{ inputs.script_prefix }}Activate${{ inputs.script_extension }}
python Build.py UpdateVersion
- name: Package
shell: ${{ inputs.shell_name }}
run: |-
${{ inputs.source_command }} ${{ inputs.script_prefix }}Activate${{ inputs.script_extension }}
python Build.py Package
# TODO: Upload package
41 changes: 41 additions & 0 deletions .github/workflows/standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,44 @@ jobs:
shell_name: ${{ steps.initialize.outputs.shell_name }}
source_command: ${{ steps.initialize.outputs.source_command }}
sudo_command: ${{ steps.initialize.outputs.sudo_command }}

package:
needs: standard

name: "Package"
runs-on: ubuntu-latest

env:
COLUMNS: "200"
SIMULATE_TERMINAL_CAPABILITIES_SUPPORTS_COLORS: "1"
PYTHONIOENCODING: "UTF-8"

steps:
- name: "Checkout Source"
uses: actions/checkout@v4

- name: Initialize
id: Initialize
uses: davidbrownell/PythonBootstrapper/.github/actions/initialize@main
with:
operating_system: ${{ matrix.os }}

- name: Bootstrap
shell: ${{ inputs.shell_name }}
run: |-
${{ inputs.script_prefix }}Bootstrap${{ inputs.script_extension }} --python-version ${{ inputs.python_version }}
- name: Update Version
shell: ${{ inputs.shell_name }}
run: |-
${{ inputs.source_command }} ${{ inputs.script_prefix }}Activate${{ inputs.script_extension }}
python Build.py UpdateVersion
- name: Package
shell: ${{ inputs.shell_name }}
run: |-
${{ inputs.source_command }} ${{ inputs.script_prefix }}Activate${{ inputs.script_extension }}
python Build.py Package
# TODO: Upload package
# TODO: Publish package (if push to main)

0 comments on commit fdca2d7

Please sign in to comment.