Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Nov 30, 2023
1 parent fd52c1f commit db64a2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- uses: paulhatch/semantic-version@v5.3.0
id: version
with:
Expand All @@ -28,11 +31,15 @@ jobs:
uses: hugo19941994/delete-draft-releases@v1.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Archive
shell: sh
run: zip -j "godot-box2d.v${steps.version.outputs.version}.zip" godot-box2d/*
- name: Release
uses: softprops/action-gh-release@v1
with:
name: Godot Box2D ${{ steps.version.outputs.version }}
files: godot-box2d-${{ steps.version.outputs.version }}/*
files: godot-box2d.v${steps.version.outputs.version}.zip
generate_release_notes: true
draft: true
prerelease: true
fail_on_unmatched_files: true

0 comments on commit db64a2d

Please sign in to comment.