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

Commit

Permalink
does this work
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch committed Jun 28, 2024
1 parent 55682f1 commit 9ec9f3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/submit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ env:
jobs:
build:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.prob.outputs.ids }}
steps:
- uses: actions/checkout@v4
- run: make
- id: prob
run: |
make problems PROBLEMS=${{ env.FN_PROB }}
echo "ids=$(cat ${{ env.FN_PROB }})" >> $GITHUB_OUTPUT
- run: echo "${{ steps.prob.outputs.ids }}"
# submit:
# runs-on: ubuntu-latest
# needs: build
# strategy:
# matrix:
# pid: ${{ steps.prob.outputs.ids }} # for each problem id
# steps:
# - name: read solution
# id: content
# - id: content
# run: echo "body=$(cat build/${{ matrix.pid }}.txt)" >> $GITHUB_OUTPUT
# - name: post solution
# run: |
# # problem id and submission content
# echo "${{ matrix.pid }}"
# echo "${{ steps.content.outputs.body }}"
# curl --location '${{ vars.BASE_URL }}submission' \
Expand Down

0 comments on commit 9ec9f3f

Please sign in to comment.