kdevops_archive: fix display of archives #56
Workflow file for this run
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
| name: Run kdevops on self-hosted runner | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| workflow_dispatch: # Add this for manual triggering of the workflow | |
| jobs: | |
| run-kdevops: | |
| name: Run kdevops CI | |
| runs-on: [self-hosted, Linux, X64] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set kdevops path | |
| run: echo "KDEVOPS_PATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV | |
| - name: Configure git | |
| run: | | |
| git config --global --add safe.directory '*' | |
| - name: Run kdevops make defconfig-repo | |
| run: | | |
| make KDEVOPS_HOSTS_PREFIX="gh" defconfig-xfs_reflink_4k | |
| - name: Run kdevops make | |
| run: | | |
| make -j$(nproc) | |
| - name: Start SSH Agent | |
| if: always() # Ensure this step runs even if previous steps failed | |
| uses: webfactory/[email protected] | |
| with: | |
| ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
| - name: Build our kdevops archive results | |
| if: always() # This ensures the step runs even if previous steps failed | |
| run: | | |
| make ci-archive DEMO=1 | |
| - name: Upload our kdevops results archive | |
| if: always() # This ensures the step runs even if previous steps failed | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: kdevops-ci-results | |
| path: ${{ env.KDEVOPS_PATH }}/archive/*.zip | |
| # Ensure make destroy always runs, even on failure | |
| - name: Run kdevops make destroy | |
| if: always() # This ensures the step runs even if previous steps failed | |
| run: | | |
| make destroy |