Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xKhronoz authored May 29, 2024
1 parent 99d3b37 commit 2156193
Showing 1 changed file with 13 additions and 23 deletions.
36 changes: 13 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow creates a zip archive and uploads to releases
# This workflow creates a new releases

name: Create & Upload Release
name: Release

# Controls when the workflow will run
on:
Expand Down Expand Up @@ -28,28 +28,18 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@master
# Create Zip Archive
- name: Zip Release
uses: TheDoctor0/[email protected]
# Increment Tag Version
- name: Get next version
uses: reecetech/[email protected]
id: version
with:
type: 'zip'
filename: 'release.zip'
exclusions: '*.git* /*.github/*'
# Create Blank Tarball File
- name: Create Release Tarball File
run: |
touch release.tar.gz
# Create Tarball
- name: Tarball Release
uses: TheDoctor0/[email protected]
with:
type: 'tar'
filename: 'release.tar.gz'
exclusions: '.git .github release.zip release.tar.gz'
# Upload the Zip Archive to releases
- name: Upload Release
scheme: semver
increment: patch
# Create a New Release
- name: Create Release
uses: ncipollo/[email protected]
with:
artifacts: "release.zip,release.tar.gz"
allowUpdates: true
tag: ${{ steps.version.outputs.version }}
generateReleaseNotes: true
makeLatest: true
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2156193

Please sign in to comment.