Skip to content

Commit

Permalink
Fix GitHub Actions release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbrink committed Jan 29, 2025
1 parent fd57f64 commit 605b14c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build and Test
on:
push:
branches: [ "**" ]
tags: [ "v*" ]
pull_request:
branches: [ "**" ]

Expand Down Expand Up @@ -89,7 +90,6 @@ jobs:
path: essex-${{ matrix.target }}.${{ matrix.os == 'windows-latest' && 'zip' || 'tar.gz' }}
retention-days: 5

# Create GitHub release when a tag is pushed
release:
name: Create Release
needs: build-and-test
Expand All @@ -99,21 +99,21 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4

- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts

path: dist
- name: List artifacts
run: ls -R artifacts/

run: ls -R dist/
- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
artifacts/essex-*/*.tar.gz
artifacts/essex-*/*.zip
files: dist/**/*.{tar.gz,zip}
generate_release_notes: true
draft: false
prerelease: false

0 comments on commit 605b14c

Please sign in to comment.