Skip to content

Commit

Permalink
Update sgx-report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maceip authored Jun 29, 2024
1 parent 9efe11f commit 2de752d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/sgx-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ jobs:
working-directory: ./notary-server
name: install Gramine
steps:
- uses: actions/checkout@v4
- name: get src
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: add gramine key
run: |
sudo curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/gramine.list
- uses: awalsh128/cache-apt-pkgs-action@latest
- name: apt get
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: rustc cargo gramine cmake clang gramine
version: 1.1
execute_install_scripts: true

- name: Set PATH
run: echo "export PATH=\$PATH:/usr/local/bin:/usr/bin" >> $GITHUB_ENV
- name: generate manifest and sig
Expand All @@ -45,7 +46,7 @@ jobs:
echo "$sigview"
- name: upload artifact
- run: mkdir -p /attestations
- run: echo ${{ env.SGX_REPORT }} > /attestations
- run: echo "${{ env.SGX_REPORT }}" > /attestations
- uses: actions/upload-artifact@v4
with:
path: /attestations/notary-server.sig
Expand Down

0 comments on commit 2de752d

Please sign in to comment.