build: ensuring correct workflow naming and static binary upload

This commit is contained in:
Brendan Hay 2020-12-04 08:59:49 +01:00
parent 21dd7a9ab6
commit 08332993b3
No known key found for this signature in database
GPG Key ID: 80E915C54A7C457D
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
# #
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions # https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
name: Build and test urbit binaries name: build
on: [push, pull_request] on: [push, pull_request]
@ -55,7 +55,7 @@ jobs:
- run: nix-build -A urbit --arg enableStatic true - run: nix-build -A urbit --arg enableStatic true
- if: ${{ matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request' }} - if: ${{ matrix.os == 'ubuntu-latest' }}
run: nix-build -A urbit-tests run: nix-build -A urbit-tests
haskell: haskell:

View File

@ -1,4 +1,4 @@
name: Upload urbit release tarball name: release
on: [release] on: [release]
@ -27,7 +27,7 @@ jobs:
project_id: ${{ secrets.GCS_PROJECT }} project_id: ${{ secrets.GCS_PROJECT }}
export_default_credentials: true export_default_credentials: true
- run: nix-build -A tarball - run: nix-build -A tarball --arg enableStatic true
- name: Run upload to bootstrap.urbit.org - name: Run upload to bootstrap.urbit.org
run: | run: |