From 9b29d90cd6f5f161f2a543a8cdbbf889e36fa4f3 Mon Sep 17 00:00:00 2001 From: Patryk Michalik Date: Wed, 18 May 2022 13:03:09 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9CRelease=20update=E2=80=9D=20work?= =?UTF-8?q?flow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release_update.yml | 30 ++++++++++++++++------------ 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release_update.yml b/.github/workflows/release_update.yml index 160d3c8010..1daecc4d50 100644 --- a/.github/workflows/release_update.yml +++ b/.github/workflows/release_update.yml @@ -61,23 +61,27 @@ jobs: permissions: contents: write steps: - - name: Download artifact - uses: actions/download-artifact@v2 - with: - name: Release APK - path: artifacts/release-apk - - name: Publish GitHub release - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ github.event.inputs.tagName }} - prerelease: ${{ github.events.inputs.prerelease }} - draft: true - body_path: ${{ github.workspace }}/GITHUB_CHANGELOG.md - files: artifacts/release-apk${{ github.event.inputs.artifactName }} + - name: Check out repository + uses: actions/checkout@v2.3.4 + - name: Download artifact + uses: actions/download-artifact@v2 + with: + name: Release APK + path: artifacts/release-apk + - name: Publish GitHub release + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ github.event.inputs.tagName }} + prerelease: ${{ github.events.inputs.prerelease }} + draft: true + body_path: ${{ github.workspace }}/GITHUB_CHANGELOG.md + files: artifacts/release-apk/${{ github.event.inputs.artifactName }} publish-telegram-update-post: runs-on: ubuntu-latest needs: build-release-apk steps: + - name: Check out repository + uses: actions/checkout@v2.3.4 - name: Download artifact uses: actions/download-artifact@v2 with: