Skip to content

Commit

Permalink
Enable release mode for untagged builds
Browse files Browse the repository at this point in the history
Works around missing development artifacts for NT from 2021
  • Loading branch information
sciencewhiz committed May 8, 2024
1 parent 72dbfdf commit eab3408
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
(startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/v'))
- name: Build with Gradle
run: ./gradlew build -PbuildServer -PdeveloperID=${{ secrets.APPLE_DEVELOPER_ID }}
# enable release mode due to missing development mode artifacts. If NT is ever updated, release mode can be removed
run: ./gradlew build -PbuildServer -PreleaseMode -PdeveloperID=${{ secrets.APPLE_DEVELOPER_ID }}
if: ${{ !github.repository_owner == 'wpilibsuite' || !startsWith(github.ref, 'refs/tags/v') }}

- name: Build with Gradle (Release)
Expand Down

0 comments on commit eab3408

Please sign in to comment.