fix compilation source
This commit is contained in:
@@ -15,27 +15,15 @@ on:
|
|||||||
# default: 'Just CI Build'
|
# default: 'Just CI Build'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
checkout-code:
|
|
||||||
runs-on: ubuntu-latest # Has Git + Node.js for checkout
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # Needed for version detection if used
|
|
||||||
|
|
||||||
- name: Upload source code as artifact
|
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
name: source-code
|
|
||||||
path: ./
|
|
||||||
retention-days: 1
|
|
||||||
|
|
||||||
build-and-publish:
|
build-and-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: vaibhavgawali/dotnet-node-python-openjdk:latest
|
image: vaibhavgawali/dotnet-node-python-openjdk:latest
|
||||||
needs: checkout-code
|
needs: checkout-code
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Download source code
|
- name: Download source code
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user