Skip to content

Commit

Permalink
Release V1.0.0
Browse files Browse the repository at this point in the history
I'm getting bored of this
  • Loading branch information
GalvinPython committed Apr 2, 2024
1 parent bb7c7cd commit 59ba54a
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
name: Get Version From package.json
runs-on: ubuntu-latest

outputs:
version: ${{ steps.get-version.outputs.current_version }}

steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -80,17 +83,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ needs.get-version.outputs.current_version }}
release_name: Release ${{ needs.get-version.outputs.current_version }}
tag_name: ${{ needs.get-version.outputs.version }}
release_name: Release ${{ needs.get-version.outputs.version }}
draft: false
prerelease: false

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist # Assuming the build output directory is 'dist'
asset_name: astro-build-${{ needs.get-version.outputs.current_version }}.zip
asset_content_type: application/zip

0 comments on commit 59ba54a

Please sign in to comment.