Skip to content

Commit

Permalink
build: fix release assets action
Browse files Browse the repository at this point in the history
build: fix release assets action
  • Loading branch information
EnixCoda committed Jul 17, 2022
1 parent d39480b commit 3b6e103
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
uses: ./.github/workflows/version.yml

release:
needs: build
needs:
- build
- version

runs-on: ubuntu-latest

steps:
Expand All @@ -31,8 +34,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ jobs.version.outputs.VERSION }}
release_name: ${{ jobs.version.outputs.VERSION }}
tag_name: ${{ needs.version.outputs.VERSION }}
release_name: ${{ needs.version.outputs.VERSION }}
draft: false
prerelease: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
outputs:
VERSION:
description: "The VERSION string"
value: ${{ jobs.build.outputs.VERSION }}
value: ${{ jobs.version.outputs.VERSION }}

jobs:
get-version:
version:
runs-on: ubuntu-latest

outputs:
Expand Down

1 comment on commit 3b6e103

@vercel
Copy link

@vercel vercel bot commented on 3b6e103 Jul 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gitako – ./

gitako-git-develop-enix.vercel.app
gitako-enix.vercel.app
gitako.enix.one
gitako.vercel.app

Please sign in to comment.