Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryaSharf committed Jan 3, 2024
1 parent a71989c commit 60d53f3
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/create_publish_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
run: |
tar -czf ock_build.tar.gz $(pwd)/build
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: riscv-build
path: ock_build.tar.gz
# - name: Upload Artifacts
# uses: actions/upload-artifact@v2
# with:
# name: riscv-build
# path: ock_build.tar.gz

# ock_nightly:
# name: OCK Nightly Build Upload
Expand All @@ -89,33 +89,33 @@ 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
# 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 60d53f3

Please sign in to comment.