Skip to content

Check for Github workflow variables #18

Check for Github workflow variables

Check for Github workflow variables #18

Workflow file for this run

name: CI
# on: push
on:
release:
types:
- published
- edited
pull_request: {}
# jobs:
# build:
# runs-on: ubuntu-latest
# container:
# image: debian:latest
# steps:
# # Must install git before checking out the repo otherwise github doesn't fetch the .git directory.
# - name: Install dependencies
# run: |
# apt update
# apt install --yes build-essential libjpeg-dev libsdl2-dev libcurl4-openssl-dev libpng-dev libfreetype-dev libvorbis-dev
# - name: Fetch repository
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# - name: Compile DP
# run: |
# # fail if there's any warnings
# export CC="cc -Werror"
# make sdl-release
# - name: Upload Linux artifacts
# uses: actions/upload-artifact@ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb # v4
# with:
# name: Linux
# path: |
# darkplaces-sdl
jobs:
dump_contexts_to_log:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"