Skip to content

Commit

Permalink
Use non-deprecated release action
Browse files Browse the repository at this point in the history
  • Loading branch information
wjones127 authored Jan 12, 2023
1 parent 156a4f7 commit 0dff735
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,11 @@ jobs:
- run: make test

- name: Bundle tables
run: tar -czvf out.tar.gz out
run: tar -czvf deltalake-dat-${{ github.ref_name }}.tar.gz out

- name: Create release
uses: actions/create-release@v1
id: create_release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
prerelease: false
release_name: Delta Lake DAT Release ${{ github.ref }}
tag_name: ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload tables
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: out.tar.gz
asset_name: deltalake-dat-${{ github.ref_name }}.tar.gz
asset_content_type: application/gzip
files: deltalake-dat-${{ github.ref_name }}.tar.gz

0 comments on commit 0dff735

Please sign in to comment.