diff --git a/.github/workflows/release-alpha.yml b/.github/workflows/release-alpha.yml index 5b69a81a8..7b61147b2 100644 --- a/.github/workflows/release-alpha.yml +++ b/.github/workflows/release-alpha.yml @@ -74,40 +74,3 @@ jobs: identifier: "GITHUB_COMMENT_ADHOC_RELEASE" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # TODO: Generate the QR code image and add it to the PR comment - - # # Get last PR commit short SHA - # - name: Get last PR commit hash - # id: commit_hash - # run: echo "::set-output name=sha_short::$(git rev-parse --short ${{ github.event.pull_request.head.sha }})" - # # run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - # - name: Set QR code file name - # id: qrcode_filename - # run: echo "::set-output name=filename::diawi_link_qrcode_${{ steps.commit_hash.outputs.sha_short }}.png" - # - name: Echo QR code file name - # run: | - # echo "${{ steps.qrcode_filename.outputs.filename }}" - # - name: Generate QR code for Ad-hoc release - # uses: snow-actions/qrcode@v1.0.0 - # with: - # text: ${{ env.DIAWI_FILE_LINK }} - # path: ${{ steps.qrcode_filename.outputs.filename }} - # - name: Upload QR code image to artifact. - # uses: actions/upload-artifact@v1 - # with: - # name: qrcode - # path: ${{ steps.qrcode_filename.outputs.filename }} - # # TODO: Find a way to upload the QR code image and get a public URL - # # - name: Get QR code image URL. - # - name: Add or update PR comment with Ad-hoc release informations - # uses: NejcZdovc/comment-pr@v1 - # with: - # message: | - # :lock: This is a QR code for access to the preview website. - # :iphone: Scan a code with your device. - # ![QR code](${{ steps.qrcode_filename.outputs.filename }}) - # # enables to identify and update existing Ad-hoc release message on new commit in the PR - # identifier: "GITHUB_COMMENT_ADHOC_RELEASE" - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}