From 88d5c3d103512bb7864bb8c224be7f3d77f56dfd Mon Sep 17 00:00:00 2001 From: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com> Date: Tue, 7 Mar 2023 11:18:28 +0000 Subject: [PATCH] Delete test yaml --- .github/workflows/tag-test.yml | 46 ---------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/tag-test.yml diff --git a/.github/workflows/tag-test.yml b/.github/workflows/tag-test.yml deleted file mode 100644 index 018eda8c..00000000 --- a/.github/workflows/tag-test.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Tag test - -on: push - -jobs: - test: - outputs: - sha: ${{ steps.commit.outputs.sha }} - tag: ${{ steps.tag.outputs.tag }} - runs-on: macos-latest - steps: - - name: setup repo - uses: actions/checkout@v3 - - id: commit - run: echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" - - id: tag - run: echo "tag=@actions/http-client@$(cat packages/http-client/package.json | jq -r .version)-test-tag" >> "$GITHUB_OUTPUT" - publish: - runs-on: macos-latest - needs: test - steps: - - name: skip publish - run: echo "skip publish" - tag: - name: "Tag ${{ needs.test.outputs.sha }} with ${{ needs.test.outputs.tag }}" - runs-on: "macos-latest" - needs: [test, publish] - steps: - - uses: actions/checkout@v3 - - name: Create tag - uses: actions/github-script@v6 - with: - script: | - github.rest.git.createRef({ - owner: context.repo.owner, - repo: context.repo.repo, - ref: 'refs/tags/${{ needs.test.outputs.tag }}', - sha: '${{ needs.test.outputs.sha }}' - }) - # - name: notify slack on failure - # if: failure() - # run: | - # curl -X POST -H 'Content-type: application/json' --data '{"text":":pb__failed: Publish of ${{ github.event.inputs.package }} was successful, but failed to tag commit ${{ needs.test.outputs.sha }} with version ${{ needs.test.outputs.tag }}"}' $SLACK_WEBHOOK - # env: - # SLACK_WEBHOOK: ${{ secrets.SLACK }} -