From 1fcc3dd3ebedf4945cef804dec0db7ffc93412e6 Mon Sep 17 00:00:00 2001 From: Rajiv Shah Date: Thu, 11 Jun 2020 16:36:47 -0400 Subject: [PATCH] fix(workflow): Change node and update gh-tangle-release to 0.6.2 (#662) --- .github/workflows/release-cargo.yml | 7 ++++--- .github/workflows/release-npm.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-cargo.yml b/.github/workflows/release-cargo.yml index 868949407..459bc4b1a 100644 --- a/.github/workflows/release-cargo.yml +++ b/.github/workflows/release-cargo.yml @@ -100,23 +100,24 @@ jobs: draft: false prerelease: false - name: Upload Release Asset - id: upload-release-asset + id: upload-release-asset if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION uses: actions/upload-release-asset@v1.0.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - upload_url: ${{ steps.create_crate_release.outputs.upload_url }} + upload_url: ${{ steps.create_crate_release.outputs.upload_url }} asset_path: ./${{ matrix.package.publishPath }}/${{ matrix.package.registryName }}-${{ env.PACKAGE_VERSION }}.crate asset_name: ${{ matrix.package.registryName }}-${{ env.PACKAGE_VERSION }}.crate asset_content_type: application/x-gtar - name: Tangle Release id: tangle_release if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION - uses: iotaledger/gh-tangle-release@v0.6.0 + uses: iotaledger/gh-tangle-release@v0.6.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} IOTA_SEED: ${{ secrets.IOTA_SEED }} + IOTA_NODE: "https://iotanode.us:14267" with: tag_name: ${{ matrix.package.name }}-v${{ env.PACKAGE_VERSION }} comment: "Release ${{ matrix.package.name }} v${{ env.PACKAGE_VERSION }} [crates.io]" diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index 623dd6f24..04fe55bff 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -96,7 +96,7 @@ jobs: - name: Tangle Release id: tangle_release if: env.PACKAGE_VERSION != env.PUBLISHED_VERSION - uses: iotaledger/gh-tangle-release@v0.6.0 + uses: iotaledger/gh-tangle-release@v0.6.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} IOTA_SEED: ${{ secrets.IOTA_SEED }}