Skip to content

Build on main push (#11) #4

Build on main push (#11)

Build on main push (#11) #4

Workflow file for this run

name: Release
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build
run: ./build.sh
- name: Service and enclave artifacts
uses: actions/upload-artifact@v4
with:
name: glove-service
path: |
target/release/service
target/release/glove.eif
- name: Enclave measurement artifact
uses: actions/upload-artifact@v4
with:
name: enclave_measurement
path: target/release/enclave_measurement.txt
- name: Adding measurement to summary
run: |
echo '### Enclave Image Measurement' >> $GITHUB_STEP_SUMMARY
cat target/release/enclave_measurement.txt >> $GITHUB_STEP_SUMMARY
- name: Make release
uses: softprops/action-gh-release@v2
with:
files: |
target/release/service
target/release/glove.eif
make_latest: true
prerelease: true # For now