Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev>test #12

Open
wants to merge 17 commits into
base: test
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/EchoContext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: EchoContext
on:
workflow_dispatch:

jobs:
debug-job:
runs-on: ubuntu-latest
steps:
- name: Debug Event 1
run: echo "$GITHUB_CONTEXT"
- name: Debug Event 2
run: echo "${{ github }}"
- name: Debug Event 3
run: echo "${{ toJSON(github) }}"
20 changes: 20 additions & 0 deletions .github/workflows/ExitCodes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Exit code test

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
name: Build (${{ github.ref_name }})
environment:
name: ${{ github.base_ref || github.ref_name }}
steps:
- if: ${{ vars.API_URL == '' }}
run : |
echo "Variable was empty"
exit 1
- name: Checkout Commit
uses: actions/checkout@v3
with:
submodules: true
20 changes: 20 additions & 0 deletions .github/workflows/ExitCodes2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Exit code test

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
name: Build (${{ github.ref_name }})
environment:
name: ${{ github.base_ref || github.ref_name }}
steps:
- if: ${{ vars.API_URL == '' }}
run : |
echo "Variable was empty"
exit 1
- name: Checkout Commit
uses: actions/checkout@v3
with:
submodules: true
47 changes: 38 additions & 9 deletions .github/workflows/FETests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,43 @@ name: Build And Deploy FE
on:
workflow_dispatch:
push:
branches:
- develop
branches:
- develop
- test
- master
pull_request:
types: [opened, synchronize, reopened, closed, ready_for_review]
branches:
- develop
- test
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref}}
cancel-in-progress: true

jobs:
build:
name: Build ${{ github.ref_name}}
runs-on: ubuntu-latest
steps:
- name: MyChecks
run: echo "MyChecks"

build:
name: Build ${{ github.base_ref || github.ref_name}}
runs-on: ubuntu-latest
steps:
- name: Github Context
run: echo "${{ toJSON(github) }}"
- name: head_ref
run: echo "${{ github.head_ref}}"
- name: base_ref
run: echo "${{ github.base_ref}}"
- name: ref_name
run: echo "${{ github.ref_name}}"
- name: ref
run: echo "${{ github.ref}}"
AsEnvir:
name: Build as envir
runs-on: ubuntu-latest
environment:
name: ${{ github.base_ref || github.ref_name}}
steps:
- name: envir var
run: echo "${{vars.API_URL}}"
- name: envir context
run: echo "${{toJSON(vars)}}"
Loading