Skip to content

Commit

Permalink
switch to another release option
Browse files Browse the repository at this point in the history
  • Loading branch information
scrpr committed Mar 7, 2024
1 parent 6990d33 commit d978de7
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-subtitle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ jobs:
run: |
python build.py
- name: Pack files
run: now=$(date +"%Y%m%d%H%M") zip -r mlan_subs_${now}.zip build/output/*
run: |
export now=$(date +"%Y%m%d%H%M")
zip -r mlan_subs_${now}.zip build/output/*
- name: Publish
uses: "marvinpinto/action-automatic-releases@latest"
uses: "softprops/action-gh-release@v1"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
tag_name: "latest"
fail_on_unmatched_files: true
prerelease: true
title: "自动生成构建 Automatic CI Build"
name: "自动生成构建 Automatic CI Build"
files: |
mlan_subs_*.zip

0 comments on commit d978de7

Please sign in to comment.