update and fix
All checks were successful
publish-nuget / build-and-publish (push) Successful in 13s
All checks were successful
publish-nuget / build-and-publish (push) Successful in 13s
This commit is contained in:
@@ -15,32 +15,13 @@ 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: Download source code
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: source-code
|
||||
path: .
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Restore dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user