From cea81f46f3462ec230bf07c26821417d6646364f Mon Sep 17 00:00:00 2001 From: Marya Date: Thu, 21 Dec 2023 20:50:18 +0000 Subject: [PATCH] update --- .../workflows/create_publish_artifacts.yml | 42 +------------------ 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/.github/workflows/create_publish_artifacts.yml b/.github/workflows/create_publish_artifacts.yml index d36ce92b6..e00b93349 100644 --- a/.github/workflows/create_publish_artifacts.yml +++ b/.github/workflows/create_publish_artifacts.yml @@ -1,10 +1,7 @@ name: Build and Package on: - pull_request: - paths: - - '.github/workflows/create_publish_artifacts.yml' - # schedule: - # - cron: '0 0 * * *' # Runs the workflow at midnight every day + schedule: + - cron: '0 0 * * *' # Runs the workflow at midnight every day # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -64,38 +61,3 @@ jobs: with: name: riscv-build path: ock_build.tar.gz - - # ock_nightly: - # name: OCK Nightly Build Upload - # runs-on: ubuntu-22.04 - # needs: [run_riscv_m1_nightly_package] - - # steps: - # - name: Download artifacts - # uses: actions/download-artifact@v3 - # with: - # name: riscv-build - # path: ock_build.tar.gz - - # - name: Compute tag - # id: tag - # run: | - # if [ "${{ github.event_name == 'schedule' }}" == "true" ]; then - # echo "TAG=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT" - # else - # # TODO: Use date of the commit? - # echo "TAG=$(date +'%Y-%m-%d')-${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT" - # fi - - # - name: Create Nightly OCK pre-release - # uses: actions/create-release@v1 - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # with: - # files: - # $(pwd)/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 }}