Skip to content

Commit

Permalink
Don't set parent when uploading to gcs
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Oct 5, 2021
1 parent 4a5d98a commit 510591c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,22 @@ name: CI/CD
on:
push:
branches:
- main
- 'main'
tags:
- '*'
pull_request:
branches:
- main
- 'main'

jobs:
# test runs the tests
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}
runs-on: 'ubuntu-latest'

name: ${{ matrix.os }}
name: 'test'

env:
CREDS_JSON: ${{ secrets.GOOGLE_CREDENTIALS }}
Expand All @@ -54,7 +52,6 @@ jobs:
${{ runner.os }}-go-
- name: Lint
if: ${{ matrix.os == 'ubuntu-latest' }}
run: make fmtcheck staticcheck spellcheck

- name: Test (Unit)
Expand Down Expand Up @@ -138,7 +135,8 @@ jobs:
with:
credentials: ${{ secrets.GOOGLE_CREDENTIALS }}
path: build/${{ matrix.goos }}_${{ matrix.goarch }}
destination: berglas/${{ steps.extract_ref.outputs.ref }}
destination: berglas/${{ steps.extract_ref.outputs.ref }}/${{ matrix.goos }}_${{ matrix.goarch }}/
parent: false

# container builds and publishes the docker container
container:
Expand Down

0 comments on commit 510591c

Please sign in to comment.