Skip to content

Commit

Permalink
Merge pull request #443 from str4d/ci-fix-keygen-interop
Browse files Browse the repository at this point in the history
CI: Fix interop tests that use `{rage, age}-keygen`
  • Loading branch information
str4d authored Jan 9, 2024
2 parents 50cb0a5 + a7e0923 commit 53972bd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: rage
path: target/release/rage
path: |
target/release/rage
target/release/rage-keygen
- name: Update FiloSottile/age status with result
if: always() && github.event.action == 'age-interop-request'
Expand Down Expand Up @@ -69,10 +71,13 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/go-age/age
go build filippo.io/age/cmd/age
go build filippo.io/age/cmd/age-keygen
- uses: actions/upload-artifact@v4
with:
name: age
path: go-age/age/age
path: |
go-age/age/age
go-age/age/age-keygen
- name: Update FiloSottile/age status with result
if: always() && github.event.action == 'age-interop-request'
Expand Down Expand Up @@ -110,7 +115,9 @@ jobs:
with:
name: age
- run: chmod +x rage
- run: chmod +x rage-keygen
- run: chmod +x age
- run: chmod +x age-keygen

# Prepare the test environment
- name: Install dos2unix for simulating Windows files
Expand Down Expand Up @@ -195,7 +202,7 @@ jobs:
- name: Keygen prevents overwriting an existing file
run: |
touch do_not_overwrite_key.txt
if $(${{ matrix.alice }}-keygen -o do_not_overwrite_key.txt); then
if $(./${{ matrix.alice }}-keygen -o do_not_overwrite_key.txt); then
false
else
true
Expand Down

0 comments on commit 53972bd

Please sign in to comment.