Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 27, 2024
1 parent 3dbeea2 commit 32f5a36
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Build, Upload, and Release Assets
name: Release

on:
push:
tags:
- '*'
branches:
- master
# tags:
# - '*'

permissions:
contents: write # required for creating release and uploading assets
Expand Down Expand Up @@ -43,19 +45,19 @@ jobs:
path: ${{ matrix.os }}-build.tar.gz
retention-days: 1

create-release:
name: Create Release
needs: build-and-upload
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
make_latest: true
generate_release_notes: true
files: |
ubuntu-latest-build/ubuntu-latest-build.tar.gz
macos-latest-build/macos-latest-build.tar.gz
# create-release:
# name: Create Release
# needs: build-and-upload
# runs-on: ubuntu-latest
# steps:
# - name: Download Artifacts
# uses: actions/download-artifact@v4
# - name: Create Release
# id: create_release
# uses: softprops/action-gh-release@v2
# with:
# make_latest: true
# generate_release_notes: true
# files: |
# ubuntu-latest-build/ubuntu-latest-build.tar.gz
# macos-latest-build/macos-latest-build.tar.gz

0 comments on commit 32f5a36

Please sign in to comment.