Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Update classroom.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khammami authored Jan 25, 2024
1 parent 04724e0 commit 9e14cc9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/classroom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,13 @@ jobs:
if: github.actor != 'github-classroom[bot]'
steps:
- uses: actions/checkout@v4
- name: Create file for setting env vars
# https://github.com/education/autograding/issues/69#issuecomment-1497674655
# https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow
env:
ANSWERS_SECRET_PASSPHRASE: ${{ secrets.ANSWERS_SECRET_PASSPHRASE }}
run: |
echo "#!/bin/sh" > setenv.sh
echo "export ANSWERS_SECRET_PASSPHRASE=\"$ANSWERS_SECRET_PASSPHRASE\"" >> setenv.sh
chmod +x setenv.sh
- uses: education/autograding@v1

0 comments on commit 9e14cc9

Please sign in to comment.