Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaSharf committed Jan 4, 2024
1 parent 60d53f3 commit ca58729
Showing 1 changed file with 29 additions and 27 deletions.
56 changes: 29 additions & 27 deletions .github/workflows/create_publish_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,33 +89,35 @@ jobs:
echo "TAG=$(date +'%Y-%m-%d')-${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"
fi
- name: Create Nightly OCK pre-release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
files:
ock_build.tar.gz
tag_name: nightly-${{ steps.tag.outputs.TAG }}
name: OCK daily ${{ steps.tag.outputs.TAG }}
prerelease: true
body: "Daily build ${{ steps.tag.outputs.TAG }}"
target_commitish: ${{ github.sha }}
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# - name: Create Nightly OCK pre-release
# uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# body: |
# Changes in this release:
# - Add new features
# - Fix bugs
# draft: true
# files:
# ock_build.tar.gz
# tag_name: nightly-${{ steps.tag.outputs.TAG }}
# name: OCK daily ${{ steps.tag.outputs.TAG }}
# prerelease: true
# body: "Daily build ${{ steps.tag.outputs.TAG }}"
# target_commitish: ${{ github.sha }}
- 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:
- Add new features
- Fix bugs
draft: true
prerelease: true

# - name: Upload Release Asset
# uses: actions/upload-release-asset@v1
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: $(pwd)/ock_build.tar.gz
# asset_name: ock_build.tar.gz
# asset_content_type: application/gzip
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: $(pwd)/ock_build.tar.gz
asset_name: ock_build.tar.gz
asset_content_type: application/gzip

0 comments on commit ca58729

Please sign in to comment.