diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index b38df21..7a3eeb2 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -193,7 +193,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - node ./agent-repo/bin/create-release-tag.js --branch ${{ github.ref }} --repo ${{ github.repository }} --workflows test.yml,prepare-release.yml + node ./agent-repo/bin/create-release-tag.js --branch ${{ github.ref }} --repo ${{ github.repository }} --workflows prepare-release.yml - name: Get Created Tag id: get_tag run: echo "latest_tag=$(git describe --tags --abbrev=0)" >> ${GITHUB_OUTPUT} diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml deleted file mode 100644 index b010f1f..0000000 --- a/.github/workflows/release-workflow.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: native-metrics Binary Upload - -on: - workflow_dispatch: - workflow_run: - workflows: ["Create Release"] - types: - - completed - -jobs: - build-test-upload: - # Check if this was a manual invocation(workflow_dispatch) or triggered(workflow_run) and successful - if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run && github.event.workflow_run.conclusion == 'success' }} - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16.x, 18.x, 20.x] - - steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - name: Install Dependencies - run: npm ci - - name: Run build - run: npm run build - - name: Run Unit - run: npm run unit - - name: Run Integration - run: npm run integration - - name: Upload to S3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.S3_BUCKET_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_BUCKET_SECRET_ACCESS_KEY }} - run: npm run upload