Skip to content

Commit

Permalink
Merge pull request #126 from ctrueden/fix-windows-ci
Browse files Browse the repository at this point in the history
CI: fix Windows build
  • Loading branch information
cmhulbert authored Aug 16, 2024
2 parents 34bf14f + 82e65e7 commit 19902d8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
7 changes: 7 additions & 0 deletions .github/setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/bin/sh
curl -fsLO https://raw.githubusercontent.com/scijava/scijava-scripts/main/ci-setup-github-actions.sh
sh ci-setup-github-actions.sh

# Let the Linux build handle artifact deployment.
if [ "$(uname)" != Linux ]
then
echo "No deploy -- non-Linux build"
echo "NO_DEPLOY=1" >> $GITHUB_ENV
fi
23 changes: 0 additions & 23 deletions .github/workflows/build-pr.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- master
tags:
- "*-[0-9]+.*"
pull_request:
branches:
- master

jobs:
build:
Expand All @@ -24,8 +27,10 @@ jobs:
cache: 'maven'
- name: Set up CI environment
run: .github/setup.sh
shell: bash
- name: Execute the build
run: .github/build.sh
shell: bash
env:
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
Expand Down

0 comments on commit 19902d8

Please sign in to comment.