Update ci.yml
This commit is contained in:
parent
7b07f106cf
commit
7f1558b723
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
@ -23,29 +23,3 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: false
|
push: false
|
||||||
outputs: type=local,dest=build
|
outputs: type=local,dest=build
|
||||||
|
|
||||||
- name: Archive build output
|
|
||||||
run: |
|
|
||||||
mkdir -p release
|
|
||||||
zip -r release/build-output.zip build/*
|
|
||||||
|
|
||||||
- name: Upload build output as a release asset
|
|
||||||
id: upload-release
|
|
||||||
uses: actions/upload-release-asset@v1
|
|
||||||
with:
|
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
asset_path: release/build-output.zip
|
|
||||||
asset_name: build-output.zip
|
|
||||||
asset_content_type: application/zip
|
|
||||||
|
|
||||||
- name: Create Release
|
|
||||||
id: create_release
|
|
||||||
uses: actions/create-release@v1
|
|
||||||
with:
|
|
||||||
tag_name: ${{ github.sha }}
|
|
||||||
release_name: Build - ${{ github.sha }}
|
|
||||||
body: |
|
|
||||||
Automated release generated by CI.
|
|
||||||
Includes the build output from the Docker build.
|
|
||||||
draft: false
|
|
||||||
prerelease: false
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user