Skip to content

Commit

Permalink
updated release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Aug 18, 2023
1 parent 5b476eb commit f6fbdd8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Release
run-name: "Release ${{ github.ref_name }}"

on:
release:
types: [created]
types: [ released ]

jobs:
release-ubuntu:
Expand All @@ -13,9 +14,6 @@ jobs:
with:
submodules: recursive

- uses: olegtarasov/get-tag@v2.1.2
id: tagName

- name: Update Packages
shell: bash
run: sudo apt-get -yq update
Expand Down Expand Up @@ -44,7 +42,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Release ${{ steps.tagName.outputs.tag }}
name: Release ${{ github.ref_name }}
allowUpdates: true
omitNameDuringUpdate: true
omitBodyDuringUpdate: true
Expand Down

0 comments on commit f6fbdd8

Please sign in to comment.