Skip to content

~Sandbox

~Sandbox #1036

Workflow file for this run

name: "~Sandbox"
on:
workflow_dispatch:
jobs:
sandbox:
runs-on: ubuntu-22.04
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Print usage
run: |
cat << EOF
This is an empty workflow file located in the main branch of your
repository. It serves as a testing ground for new GitHub Actions on
development branches before merging them to the main branch. By
defining and overloading this workflow on your development branch,
you can test new actions without affecting your main branch, ensuring
a smooth integration process once the changes are ready to be merged.
Usage:
1. In your development branch, modify the sandbox.yml workflow file
to include the new actions you want to test. Make sure to commit
the changes to the development branch.
2. Navigate to the 'Actions' tab in your repository, select the
'~Sandbox' workflow, and choose your development branch from the
branch dropdown menu. Click on 'Run workflow' to trigger the
workflow on your development branch.
3. Once you have tested and verified the new actions in the Sandbox
workflow, you can incorporate them into your main workflow(s) and
merge the development branch into the main branch. Remember to
revert the changes to the sandbox.yml file in the main branch to
keep it empty for future testing.
EOF
download-artifacts:
runs-on: ubuntu-22.04
steps:
- name: Check out the repository under ${GITHUB_WORKSPACE}
uses: actions/checkout@v4
- name: Download
run: |
pwd; ls;
bash .github/workflows/baselines/download_artifacts.sh 8449523553;
ls -l
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload metrics test json logs
uses: actions/upload-artifact@v4
with:
name: all-artifacts
path: |
8449523553/*
finalize:
if: "!cancelled()"
uses: ./.github/workflows/_finalize.yaml
secrets: inherit