From 54046c883c0b0368ab02d8d75b6d764f9f967de3 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 14 Jun 2023 20:45:20 -0500 Subject: [PATCH] upload in build step --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2cb3f7d..46640c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,14 +19,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release create latest --notes "latest release" - - name: create versioned release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}" - - name: Upload Release Asset - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload latest dist/ release: needs: setup strategy: @@ -49,3 +41,11 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release upload ${{ github.run_number }} dist/ + - name: create versioned release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}" + - name: Upload Release Asset + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh release upload latest dist/