fix compilation source
This commit is contained in:
@@ -15,27 +15,15 @@ on:
|
||||
# default: 'Just CI Build'
|
||||
|
||||
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:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: vaibhavgawali/dotnet-node-python-openjdk:latest
|
||||
needs: checkout-code
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Download source code
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user