diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b8d2ec5a..c05dfc7a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -277,6 +277,21 @@ jobs: run: | cd src/ApiService/ dotnet test --no-restore + - name: copy artifacts + run: | + ./src/ci/get-version.sh > src/deployment/VERSION + cd src/ApiService/ApiService/ + echo ${GITHUB_RUN_ID} | tee onefuzzlib/build.id + echo ${GITHUB_SHA} | tee onefuzzlib/git.version + mv az-local.settings.json bin/Release/net6.0/local.settings.json + cd bin/Release/net6.0/ + zip -r api-service-net.zip . + mkdir -p ${GITHUB_WORKSPACE}/artifacts/service-net + cp api-service-net.zip ${GITHUB_WORKSPACE}/artifacts/service-net + - uses: actions/upload-artifact@v2.2.2 + with: + name: build-artifacts + path: artifacts afl: runs-on: ubuntu-18.04 steps: diff --git a/src/ApiService/ApiService/az-local.settings.json b/src/ApiService/ApiService/az-local.settings.json new file mode 100644 index 000000000..4997c24c0 --- /dev/null +++ b/src/ApiService/ApiService/az-local.settings.json @@ -0,0 +1,6 @@ +{ + "IsEncrypted": false, + "Values": { + "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated" + } +}