Skip to content

Commit

Permalink
[CI] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hadashiA committed Feb 25, 2024
1 parent e2a8695 commit 44a2944
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
contents: write
timeout-minutes: 10
steps:
- uses: actions/download-artifact@v2-preview
- uses: actions/download-artifact@v4
- uses: softprops/action-gh-release@v1
id: create_release
with:
Expand All @@ -89,22 +89,8 @@ jobs:
draft: true
prerelease: false
generate_release_notes: true

# Create Releases
- uses: actions/create-release@v1
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.GIT_TAG }}
release_name: v${{ env.GIT_TAG }}

# Upload to Releases(unitypackage)
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./VContainer.${{ env.GIT_TAG }}.unitypackage
asset_name: VContainer.${{ env.GIT_TAG }}.unitypackage
asset_content_type: application/octet-stream
files: |
./VContainer.${{ env.GIT_TAG }}.unitypackage
./VContainer.SourceGenerator.dll
./VContainer.SourceGenerator.Roslyn3.dll

0 comments on commit 44a2944

Please sign in to comment.