Update and rename main.yml to build_be.yml

This commit is contained in:
Geoffrey Horsington authored and GitHub committed 2021-10-31 20:18:23 +02:00
1 parent b2c7bdb448
commit 6e29ffe608
2 files changed
+22 -1

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
name: Build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.5
- uses: nrwl/last-successful-commit-action@v1
id: last_successful_commit
with:
branch: master
workflow_id: build_be.yml
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Print build info
env:
LAST_BUILD_HASH: ${{ steps.last_successful_commit.commit_hash }}
run: |
echo Current hash: ${GITHUB_SHA}; Last successful build: ${LAST_BUILD_HASH}
echo Build ID: ${GITHUB_RUN_ID}; Run number: ${GITHUB_RUN_NUMBER}
-1
View File
@@ -1 +0,0 @@