Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
RayWangQvQ committed Mar 8, 2023
1 parent 46ee94b commit e1d1873
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,17 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Test 1
run: |
pwd && ls
cd ./scripts
ls

- name: Publish and zip
run: |
pwd && ls
cd ./scripts
chmod +x ./publish.sh
. publish.sh --runtime all
- name: Copy zip files
run: |
cp -f ./src/Ray.BiliBiliTool.Console/bin/Publish/*.zip /
- name: Get release content
id: release_content
Expand All @@ -53,13 +51,12 @@ jobs:
echo "release_content<<EOF" >> $GITHUB_OUTPUT
echo "$content" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
cd ${{ github.workspace }}/src/Ray.BiliBiliTool.Console/bin/Publish
- name: Upload release asset
id: upload-release-asset
uses: softprops/action-gh-release@v1
with:
files: ./*.zip
files: /*.zip
token: ${{ secrets.GITHUB_TOKEN }}
name: BiliBiliToolPro-V${{ github.event.inputs.version }}
tag_name: ${{ github.event.inputs.version }}
Expand Down

0 comments on commit e1d1873

Please sign in to comment.