From 226219b451063e25ecdcf4d6836a24e5409896fb Mon Sep 17 00:00:00 2001 From: xenticore Date: Fri, 21 Mar 2025 14:40:00 -0400 Subject: [PATCH] ci: fix deploy stage --- .gitea/workflows/release.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index d8b756a..a3cf69d 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -8,10 +8,15 @@ on: jobs: build: runs-on: debian-latest + outputs: + version: ${{ steps.version.outputs.version }} steps: - name: Check out repository uses: actions/checkout@v4.1.2 + - name: Read package version + uses: tyankatsu0105/read-package-version-actions@v1 + id: version - name: Install dependencies run: bun install - name: Build project @@ -30,14 +35,12 @@ jobs: uses: actions/download-artifact@v3 with: name: tf2wikipricing.user.js - - name: Read package.json version - uses: tyankatsu0105/read-package-version-actions@v1 - id: version + path: userscript - name: Create release id: use-go-action uses: akkuman/gitea-release-action@v1 with: - name: ${{ steps.version.outputs.version }} + name: "v${{ need.build.outputs.version }}" files: | - *.user.js + userscript/** sha256sum: true \ No newline at end of file