Fred Boniface
ed145caa82
Some checks failed
PIS Generate / validate_and_release (push) Failing after 7s
28 lines
758 B
YAML
28 lines
758 B
YAML
name: PIS Generate
|
|
|
|
run-name: PIS_Generator
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
validate_and_release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out Repo code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Validate YAML
|
|
uses: https://github.com/GrantBirki/json-yaml-validate@v2.6.1
|
|
|
|
- name: Get current timestamp
|
|
id: timestamp
|
|
run: echo "::set-output name=date::$(date +'%Y%m%d_%H%M%S')"
|
|
|
|
- name: Create Release
|
|
if: success()
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
tag: ${{ steps.timestamp.outputs.date }}
|
|
commit: ${{ steps.timestamp.outputs.date }} |