Skip to content

Commit bb022c1

Browse files
johnynekOscar Boykin
andauthored
Try to fix release (#374)
Co-authored-by: Oscar Boykin <oboykin@netflix.com>
1 parent 1590157 commit bb022c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
- name: Prepare outputs from platform run
4747
run: ./ci_scripts/prepare_output.sh bazel-deps.jar bazel-deps.jar staging-directory
4848
- uses: actions/upload-artifact@master
49-
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
49+
# we only need to upload bazel-deps.jar one time, and it will error if we try twice
50+
if: (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && matrix.os == 'ubuntu-20.04'
5051
with:
5152
name: bazel-deps.jar
5253
path: staging-directory

0 commit comments

Comments
 (0)