Skip to content

Commit

Permalink
a enter
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-csliu committed Sep 15, 2023
1 parent 93060f5 commit 9b5cb67
Showing 1 changed file with 4 additions and 46 deletions.
50 changes: 4 additions & 46 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
- Second Change
draft: false
prerelease: false
- name: test
run: |
echo ${{ steps.filename.outputs.TAR_FILE }}
ls -R
# - name: check things is going right
# run: |
# echo ${{ steps.filename.outputs.TAR_FILE }}
# ls -R
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
Expand All @@ -65,45 +65,3 @@ jobs:
asset_path: ${{ steps.filename.outputs.TAR_PATH }}
asset_name: ${{ steps.filename.outputs.TAR_FILE }}
asset_content_type: application/gzip

# Release:

# name: Upload Release Asset
# runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# - name: Build project # This would actually build your project, using zip for an example artifact
# run: |
# zip --junk-paths my-artifact README.md
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# body: |
# Changes in this Release
# - First Change
# - Second Change
# draft: false
# prerelease: false
# - name: Show Info
# run: echo ${{ github.ref }}
# - name: Download dist
# uses: actions/download-artifact@v3
# with:
# name: dist-dir
# - name: Upload Release Asset
# id: upload-release-asset
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
# asset_path: ./dist/*.tar.gz
# asset_name: my-artifact.zip
# asset_content_type: application/zip

0 comments on commit 9b5cb67

Please sign in to comment.