Skip to content

Commit 73d1df2

Browse files
committed
(d) modify workflows to allow test runs
1 parent bdf1795 commit 73d1df2

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

.github/workflows/publish-go-nightly-task.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -282,25 +282,25 @@ jobs:
282282
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
283283
role-session-name: "github_${{ env.PROJECT_NAME }}"
284284
aws-region: ${{ env.AWS_REGION }}
285-
286-
- name: Upload release files on Arduino downloads servers
287-
run: aws s3 sync ${{ env.DIST_DIR }} s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.AWS_PLUGIN_TARGET }}nightly
288-
289-
report:
290-
runs-on: ubuntu-latest
291-
needs: publish-nightly
292-
if: failure() # Run if publish-nightly or any of its job dependencies failed
293-
294-
steps:
295-
- name: Report failure
296-
uses: masci/datadog@v1
297-
with:
298-
api-key: ${{ secrets.DD_API_KEY }}
299-
events: |
300-
- title: "${{ env.PROJECT_NAME }} nightly build failed"
301-
text: "Nightly build workflow has failed"
302-
alert_type: "error"
303-
host: ${{ github.repository }}
304-
tags:
305-
- "project:${{ env.PROJECT_NAME }}"
306-
- "workflow:${{ github.workflow }}"
285+
#
286+
# - name: Upload release files on Arduino downloads servers
287+
# run: aws s3 sync ${{ env.DIST_DIR }} s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.AWS_PLUGIN_TARGET }}nightly
288+
#
289+
# report:
290+
# runs-on: ubuntu-latest
291+
# needs: publish-nightly
292+
# if: failure() # Run if publish-nightly or any of its job dependencies failed
293+
#
294+
# steps:
295+
# - name: Report failure
296+
# uses: masci/datadog@v1
297+
# with:
298+
# api-key: ${{ secrets.DD_API_KEY }}
299+
# events: |
300+
# - title: "${{ env.PROJECT_NAME }} nightly build failed"
301+
# text: "Nightly build workflow has failed"
302+
# alert_type: "error"
303+
# host: ${{ github.repository }}
304+
# tags:
305+
# - "project:${{ env.PROJECT_NAME }}"
306+
# - "workflow:${{ github.workflow }}"

.github/workflows/release-go-task.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313

1414
on:
1515
push:
16-
tags:
17-
- "v[0-9]+.[0-9]+.[0-9]+*"
16+
# tags:
17+
# - "v[0-9]+.[0-9]+.[0-9]+*"
1818

1919
jobs:
2020
create-release-artifacts:
@@ -286,16 +286,16 @@ jobs:
286286
unzip -p /tmp/3.0.0.zip semver-tool-3.0.0/src/semver >/tmp/semver && chmod +x /tmp/semver
287287
if [[ "$(/tmp/semver get prerel ${{ needs.create-release-artifacts.outputs.version }} )" ]]; then echo "IS_PRE=true" >> $GITHUB_OUTPUT; fi
288288
289-
- name: Create Github Release and upload artifacts
290-
uses: ncipollo/release-action@v1
291-
with:
292-
token: ${{ secrets.GITHUB_TOKEN }}
293-
bodyFile: ${{ env.DIST_DIR }}/CHANGELOG.md
294-
draft: false
295-
prerelease: ${{ steps.prerelease.outputs.IS_PRE }}
296-
# NOTE: "Artifact is a directory" warnings are expected and don't indicate a problem
297-
# (all the files we need are in the DIST_DIR root)
298-
artifacts: ${{ env.DIST_DIR }}/*
289+
# - name: Create Github Release and upload artifacts
290+
# uses: ncipollo/release-action@v1
291+
# with:
292+
# token: ${{ secrets.GITHUB_TOKEN }}
293+
# bodyFile: ${{ env.DIST_DIR }}/CHANGELOG.md
294+
# draft: false
295+
# prerelease: ${{ steps.prerelease.outputs.IS_PRE }}
296+
# # NOTE: "Artifact is a directory" warnings are expected and don't indicate a problem
297+
# # (all the files we need are in the DIST_DIR root)
298+
# artifacts: ${{ env.DIST_DIR }}/*
299299

300300
- name: configure aws credentials
301301
uses: aws-actions/configure-aws-credentials@v4
@@ -304,5 +304,5 @@ jobs:
304304
role-session-name: "github_${{ env.PROJECT_NAME }}"
305305
aws-region: ${{ env.AWS_REGION }}
306306

307-
- name: Upload release files on Arduino downloads servers
308-
run: aws s3 sync ${{ env.DIST_DIR }} s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.AWS_PLUGIN_TARGET }}
307+
# - name: Upload release files on Arduino downloads servers
308+
# run: aws s3 sync ${{ env.DIST_DIR }} s3://${{ secrets.DOWNLOADS_BUCKET }}${{ env.AWS_PLUGIN_TARGET }}

0 commit comments

Comments
 (0)