summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test-erlang-otp-21.3.yaml1
-rw-r--r--.github/workflows/test-erlang-otp-22.3.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/test-erlang-otp-21.3.yaml b/.github/workflows/test-erlang-otp-21.3.yaml
index a7a3c7f074..145f0f1bde 100644
--- a/.github/workflows/test-erlang-otp-21.3.yaml
+++ b/.github/workflows/test-erlang-otp-21.3.yaml
@@ -3313,6 +3313,7 @@ jobs:
branch_or_tag_name=${GITHUB_REF#refs/*/}
echo "::set-output name=branch_or_tag_name::$branch_or_tag_name"
- name: UPLOAD TO S3
+ if: github.ref == 'refs/heads/master'
# https://github.com/marketplace/actions/s3-file-upload
uses: zdurham/s3-upload-github-action@master
env:
diff --git a/.github/workflows/test-erlang-otp-22.3.yaml b/.github/workflows/test-erlang-otp-22.3.yaml
index a39097b1c5..92cdc777ef 100644
--- a/.github/workflows/test-erlang-otp-22.3.yaml
+++ b/.github/workflows/test-erlang-otp-22.3.yaml
@@ -3313,6 +3313,7 @@ jobs:
branch_or_tag_name=${GITHUB_REF#refs/*/}
echo "::set-output name=branch_or_tag_name::$branch_or_tag_name"
- name: UPLOAD TO S3
+ if: github.ref == 'refs/heads/master'
# https://github.com/marketplace/actions/s3-file-upload
uses: zdurham/s3-upload-github-action@master
env: