From d2df0bb135f07b55cee14094b1f90414ad5112c5 Mon Sep 17 00:00:00 2001 From: kiomarzsss Date: Thu, 20 Jun 2024 14:23:04 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7:=20build=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f4ba2648..f365d8f5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,18 @@ jobs: - name: Checkout git repo uses: actions/checkout@v4 + - name: Prepare Release Message + run: | + sed 's|RELEASE_TAG|${{ github.ref_name }}|g' ./.github/release_message.md >> release.md + + - name: Set Release Message + uses: softprops/action-gh-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref_name }} + body_path: './release.md' + - name: Install Node and NPM uses: actions/setup-node@v4 with: @@ -82,15 +94,3 @@ jobs: oblivion-desktop-win.exe oblivion-desktop-mac-arm64.zip.blockmap oblivion-desktop-mac-x64.zip.blockmap - - - name: Prepare Release Message - run: | - sed 's|RELEASE_TAG|${{ github.ref_name }}|g' ./.github/release_message.md >> release.md - - - name: Set Release Message - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref_name }} - body_path: './release.md'