Merge pull request #4150 from splunk/contentctl-ng_1.0.2 #6079
This file contains hidden or 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
| # This workflow performs a simple build action. | |
| # It is intentionally separate from the appinspect | |
| # workflow to provide granular feedback and insight | |
| # into when a build passes but an appinspect fails. | |
| name: build | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repository code | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.14 | |
| architecture: x64 | |
| - name: Install contentctl-ng | |
| shell: bash | |
| run: | | |
| echo "- Build Tool Version - $(cat requirements.txt)" | |
| pip install -r requirements.txt | |
| - name: Run a contentctl-ng build | |
| run: | | |
| contentctl-ng build | |
| # Store build artifact | |
| - name: store_artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: content-latest | |
| path: | | |
| dist/*.tar.gz |