Skip to content

yaobinwen-mvs is testing out GitHub Actions πŸš€ #13

yaobinwen-mvs is testing out GitHub Actions πŸš€

yaobinwen-mvs is testing out GitHub Actions πŸš€ #13

Workflow file for this run

name: Hello GitHub Actions
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on: [push, workflow_dispatch]
jobs:
Explore-GitHub-Actions:
strategy:
# Cancel all in-progress and queued jobs in the matrix if any job in the
# matrix fails.
fail-fast: true
# Define a single-dimension matrix so we can run the job on the two
# architectures: arm64 and amd64.
matrix:
# NOTE(ywen): The AMIs seem to use `x64` for amd64 images.
arch: ["arm64", "x64"]
# NOTE(ywen): Use `self-hosted` to run the job on self-hosted runners.
runs-on: [self-hosted, "${{ matrix.arch }}"]
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."