1
0
mirror of synced 2025-02-21 21:00:21 +01:00

Update ci.yml

This commit is contained in:
Bobby Dilley 2025-01-09 11:30:00 +00:00 committed by GitHub
parent 73d0c9fb57
commit 6d799d7524
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,20 +29,23 @@ jobs:
run: |
docker build --target lindbergh-build -t lindbergh-loader .
# Extract build artifacts
- name: Extract build artifacts
run: |
docker create --name lindbergh-builder lindbergh-loader
docker cp lindbergh-builder:/output ./build
docker rm lindbergh-builder
# Archive the build directory
- name: Archive build directory
uses: actions/upload-artifact@v3
with:
name: build-output
path: ./build
# Create a GitHub release and upload the artifact
# Create a GitHub release and capture the upload URL
- name: Create Release
id: create_release # Assign an ID to reference the output
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -52,6 +55,7 @@ jobs:
draft: false
prerelease: false
# Upload the build artifact to the release
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env: