Skip to content

Commit

Permalink
Fix paths for generated certificate files in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsutsu3 committed Nov 28, 2024
1 parent e31865e commit 5ff7e42
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,20 @@ jobs:
- name: Generate server key
run: |
openssl genrsa -out tests/key/unbound_server.key 2048
openssl req -new -key tests/key/unbound_server.key -out unbound_server.csr -subj "/CN=server"
openssl x509 -req -in tests/key/unbound_server.csr -signkey unbound_server.key -out unbound_server.pem -days 365
openssl req -new -key tests/key/unbound_server.key -out tests/key/unbound_server.csr -subj "/CN=server"
openssl x509 -req -in tests/key/unbound_server.csr -signkey tests/key/unbound_server.key -out tests/key/unbound_server.pem -days 365
- name: Generate client key
run: |
openssl genrsa -out tests/key/unbound_control.key 2048
openssl req -new -key tests/key/unbound_control.key -out unbound_control.csr -subj "/CN=client"
openssl x509 -req -in tests/key/unbound_control.csr -signkey unbound_control.key -out unbound_control.pem -days 365
openssl req -new -key tests/key/unbound_control.key -out tests/key/unbound_control.csr -subj "/CN=client"
openssl x509 -req -in tests/key/unbound_control.csr -signkey tests/key/unbound_control.key -out tests/key/unbound_control.pem -days 365
- name: List generated files
run: ls -l
test:
name: Test
needs: generate-certs
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 5ff7e42

Please sign in to comment.