From 1ff0b9db7494a43ef1afb2318a48a0e3814bb2f8 Mon Sep 17 00:00:00 2001 From: Sky Date: Wed, 6 Sep 2023 12:56:26 -0300 Subject: [PATCH] Fix release action --- .github/workflows/rust.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 62e0afb..209a4f3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,6 +18,8 @@ env: jobs: build: runs-on: ubuntu-latest + outputs: + version: ${{ steps.build.outputs.version }} steps: - uses: actions/checkout@v3 @@ -49,6 +51,8 @@ jobs: contents: write if: github.event_name != 'pull_request' steps: + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 with: name: decky @@ -60,4 +64,4 @@ jobs: prerelease: ${{ github.event.inputs.releaseAsPrerelease || true }} artifactErrorsFailBuild: true artifactContentType: "application/octet-stream" - tag: ${{ steps.build.outputs.version }} + tag: ${{ needs.build.outputs.version }}