From d4b92485b1a228fb003e1218e42f6c778c655809 Mon Sep 17 00:00:00 2001 From: lazymio Date: Sat, 17 Jun 2023 23:51:46 +0200 Subject: [PATCH 01/31] Remove stale bot --- .github/workflows/stale.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index 214472cf6a..0000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: 'Close stale issues and PRs' -on: - schedule: - - cron: '30 5 * * *' - workflow_dispatch: - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v4 - with: - stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.' - days-before-stale: 60 - days-before-close: 15 - exempt-all-milestones: true - exempt-issue-labels: 'pinned,help wanted,enhancement,bug' - exempt-pr-labels: 'pinned' From a5f7059a34536cc3aba2a2e2fcf546d2514d4831 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Sun, 15 Oct 2023 12:21:50 +0100 Subject: [PATCH 02/31] attach-release --- .github/workflows/attach-release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/attach-release.yml diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml new file mode 100644 index 0000000000..4a72b32208 --- /dev/null +++ b/.github/workflows/attach-release.yml @@ -0,0 +1,27 @@ +name: Attach Release Artifacts + +on: + release: + types: + - released + + +jobs: + download-artifacts: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: actions/download-artifact@v3 + with: + name: my-artifact + path: artifacts + + - name: Display structure of downloaded files + run: ls -R + working-directory: artifacts + + + + + \ No newline at end of file From efc9d9ad8e5376d5b2c003773c0a1de66aa57f40 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Sun, 15 Oct 2023 12:38:02 +0100 Subject: [PATCH 03/31] workflow dispatch --- .github/workflows/attach-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 4a72b32208..09a8d96099 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -4,8 +4,8 @@ on: release: types: - released + workflow_dispatch: - jobs: download-artifacts: runs-on: ubuntu-latest From f9a1b49c2b7c9cc216aba24962417af623c0dc7d Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Sun, 15 Oct 2023 12:46:18 +0100 Subject: [PATCH 04/31] refactor --- .github/workflows/attach-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 09a8d96099..f82e25512a 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -5,7 +5,7 @@ on: types: - released workflow_dispatch: - + jobs: download-artifacts: runs-on: ubuntu-latest @@ -14,7 +14,6 @@ jobs: - uses: actions/download-artifact@v3 with: - name: my-artifact path: artifacts - name: Display structure of downloaded files From dfdf7e7cd1364a9a524b35182bf7b3d3c1e82b83 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Sun, 15 Oct 2023 13:02:15 +0100 Subject: [PATCH 05/31] create artifacts folder --- .github/workflows/attach-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index f82e25512a..e7c40dabce 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -12,10 +12,14 @@ jobs: steps: - uses: actions/checkout@v3 + - name: create artifacts directory + run: mkdir artifacts + working-directory: ./ + - uses: actions/download-artifact@v3 with: path: artifacts - + - name: Display structure of downloaded files run: ls -R working-directory: artifacts From dec01d7223438212470968fff525c0d3b8cdbf0b Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 11:30:20 +0100 Subject: [PATCH 06/31] code refactor --- .github/workflows/attach-release.yml | 35 +++++++++++++++++----------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index e7c40dabce..14c48aeefa 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -1,30 +1,39 @@ name: Attach Release Artifacts -on: +on: release: types: - released workflow_dispatch: jobs: - download-artifacts: + upload-artifacts: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - name: create artifacts directory + - name: Check out code + uses: actions/checkout@v2 + + - name: Create artifacts directory run: mkdir artifacts working-directory: ./ - - uses: actions/download-artifact@v3 + - name: Upload all artifacts + uses: actions/upload-artifact@v2 with: + name: all-artifacts path: artifacts + download-artifacts: + needs: upload-artifacts + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Download all artifacts + uses: actions/download-artifact@v2 + with: + name: all-artifacts + - name: Display structure of downloaded files - run: ls -R - working-directory: artifacts - - - - - \ No newline at end of file + run: ls -R \ No newline at end of file From 8e387d5faace458ea1f00ea48c0d9d1f6e9664fa Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 11:54:45 +0100 Subject: [PATCH 07/31] Attach Release --- .github/workflows/attach-release.yml | 30 ++++++++-------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 14c48aeefa..818e83e530 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -1,39 +1,25 @@ name: Attach Release Artifacts -on: +on: release: types: - released workflow_dispatch: jobs: - upload-artifacts: + download-artifacts: runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Create artifacts directory + - uses: actions/checkout@v3 + + - name: create artifacts directory run: mkdir artifacts working-directory: ./ - - name: Upload all artifacts - uses: actions/upload-artifact@v2 + - uses: actions/download-artifact@v3 with: - name: all-artifacts path: artifacts - download-artifacts: - needs: upload-artifacts - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Download all artifacts - uses: actions/download-artifact@v2 - with: - name: all-artifacts - - name: Display structure of downloaded files - run: ls -R \ No newline at end of file + run: ls -R + working-directory: artifacts \ No newline at end of file From 64a74caed20d8981d8744ef29f57abc1429dd3aa Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 13:29:03 +0100 Subject: [PATCH 08/31] My-Artifacts Directory --- .github/workflows/attach-release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 818e83e530..0088766370 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -16,9 +16,13 @@ jobs: run: mkdir artifacts working-directory: ./ - - uses: actions/download-artifact@v3 + - name: Upload MyArtifacts + uses: actions/upload-artifact@v3 with: - path: artifacts + path: ./artifacts + + - name: Download MyArtifacts + uses: actions/download-artifact@v3 - name: Display structure of downloaded files run: ls -R From 8026364e18f32eb0dba6f01d79eac28f1ccb97fb Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 13:50:37 +0100 Subject: [PATCH 09/31] MyArtifacts --- .github/workflows/attach-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 0088766370..b81e444561 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -23,6 +23,8 @@ jobs: - name: Download MyArtifacts uses: actions/download-artifact@v3 + with: + path: ./artifacts - name: Display structure of downloaded files run: ls -R From 0e05ea4ceac31544c05950c3c4a86f37389be318 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 13:55:25 +0100 Subject: [PATCH 10/31] My Artifacts --- .github/workflows/attach-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index b81e444561..cc4c3e80e3 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -16,16 +16,16 @@ jobs: run: mkdir artifacts working-directory: ./ - - name: Upload MyArtifacts - uses: actions/upload-artifact@v3 - with: - path: ./artifacts - - name: Download MyArtifacts uses: actions/download-artifact@v3 with: path: ./artifacts + - name: Upload MyArtifacts + uses: actions/upload-artifact@v3 + with: + path: ./artifacts + - name: Display structure of downloaded files run: ls -R working-directory: artifacts \ No newline at end of file From d65f82576a790fed18dbf517e1d3b71547d75b38 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 14:05:22 +0100 Subject: [PATCH 11/31] refactor yaml --- .github/workflows/attach-release.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index cc4c3e80e3..1b34cd64cc 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -12,20 +12,19 @@ jobs: steps: - uses: actions/checkout@v3 - - name: create artifacts directory - run: mkdir artifacts - working-directory: ./ + # - name: create artifacts directory + # run: mkdir artifacts + # working-directory: ./ - - name: Download MyArtifacts - uses: actions/download-artifact@v3 + - name: Upload MyArtifacts + uses: actions/upload-artifact@v3 with: path: ./artifacts - - name: Upload MyArtifacts - uses: actions/upload-artifact@v3 + - name: Download MyArtifacts + uses: actions/download-artifact@v3 with: path: ./artifacts - name: Display structure of downloaded files - run: ls -R - working-directory: artifacts \ No newline at end of file + run: ls -R \ No newline at end of file From 3b0c6917dccdce2731549447892780ccdbedb0fa Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 14:36:20 +0100 Subject: [PATCH 12/31] refactoring --- .github/workflows/attach-release.yml | 4 ++-- .github/workflows/release.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 1b34cd64cc..7fa8976671 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -16,9 +16,9 @@ jobs: # run: mkdir artifacts # working-directory: ./ - - name: Upload MyArtifacts - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v3 with: + name: my-artifact path: ./artifacts - name: Download MyArtifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..05b386ca45 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +- name: build +run: make build + - name: version + run: echo "::set-output name=version::$(https://github.com/unicorn-engine/unicorn/archive/refs/tags/ --version)" + id: version + - name: release + uses: actions/create-release@v3 + id: create_release + with: + draft: false + prerelease: false + release_name: ${{ steps.version.outputs.version }} + tag_name: ${{ github.ref }} + body_path: ChangeLog + From d70853b0278b3ba5c5577d2db729c281b93a12ad Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 15:06:16 +0100 Subject: [PATCH 13/31] Refactor --- .github/workflows/attach-release.yml | 19 +++++++------------ .github/workflows/release.yml | 15 --------------- 2 files changed, 7 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 7fa8976671..818e83e530 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -12,19 +12,14 @@ jobs: steps: - uses: actions/checkout@v3 - # - name: create artifacts directory - # run: mkdir artifacts - # working-directory: ./ + - name: create artifacts directory + run: mkdir artifacts + working-directory: ./ - - uses: actions/upload-artifact@v3 + - uses: actions/download-artifact@v3 with: - name: my-artifact - path: ./artifacts - - - name: Download MyArtifacts - uses: actions/download-artifact@v3 - with: - path: ./artifacts + path: artifacts - name: Display structure of downloaded files - run: ls -R \ No newline at end of file + run: ls -R + working-directory: artifacts \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 05b386ca45..0000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,15 +0,0 @@ -- name: build -run: make build - - name: version - run: echo "::set-output name=version::$(https://github.com/unicorn-engine/unicorn/archive/refs/tags/ --version)" - id: version - - name: release - uses: actions/create-release@v3 - id: create_release - with: - draft: false - prerelease: false - release_name: ${{ steps.version.outputs.version }} - tag_name: ${{ github.ref }} - body_path: ChangeLog - From 320a5984d39335701e0ab35bdd3dccab15467fca Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 18:19:05 +0100 Subject: [PATCH 14/31] Artifacts redo --- .github/workflows/build-uc2.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index 7ee9589466..24de29ef72 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -243,6 +243,17 @@ jobs: ls -laR ${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . ../test* + - name: create sample file + run: touch artifacts + working-directory: ./ + + - name: 'Upload sample' + if: always() + uses: actions/upload-artifact@v1 + with: + path: ./artifacts + name: artifacts + - name: '📤 Upload artifact' if: always() uses: actions/upload-artifact@v1 From f73848f25cdf9f73caf4ad3351db2077d21aa1fd Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 18:50:02 +0100 Subject: [PATCH 15/31] build --- .github/workflows/build-uc2.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index 24de29ef72..bcf01e2893 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -14,7 +14,6 @@ on: - "COPYING" pull_request: - env: CI: true @@ -253,6 +252,18 @@ jobs: with: path: ./artifacts name: artifacts + + - name: create artifacts directory + run: mkdir artifacts + working-directory: ./ + + - uses: actions/download-artifact@v3 + with: + path: artifacts + + - name: Display structure of downloaded files + run: ls -R + working-directory: artifacts - name: '📤 Upload artifact' if: always() From 3c2fdb2e42e1c7655ee96378ecca5af89ce03825 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 19:16:15 +0100 Subject: [PATCH 16/31] refactor yaml --- .github/workflows/build-uc2.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index bcf01e2893..b52bc4fffb 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -253,17 +253,18 @@ jobs: path: ./artifacts name: artifacts - - name: create artifacts directory - run: mkdir artifacts + - name: create artifact directory + run: mkdir artifact working-directory: ./ - - uses: actions/download-artifact@v3 + - name: 'download artifact' + uses: actions/download-artifact@v3 with: - path: artifacts + path: artifact - name: Display structure of downloaded files run: ls -R - working-directory: artifacts + working-directory: artifact - name: '📤 Upload artifact' if: always() From 1513b8c1912eb9abc1fee3fd611e500fcbdb073d Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 20:26:58 +0100 Subject: [PATCH 17/31] workflw --- .github/workflows/attach-release.yml | 10 ++++--- .github/workflows/build-uc2.yml | 42 ++++++++++++---------------- 2 files changed, 24 insertions(+), 28 deletions(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 818e83e530..6d775cb168 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -13,13 +13,15 @@ jobs: - uses: actions/checkout@v3 - name: create artifacts directory - run: mkdir artifacts + run: mkdir artifact working-directory: ./ - - uses: actions/download-artifact@v3 + - uses: dawidd6/action-download-artifact@v2 with: - path: artifacts + workflow: build-uc2.yml + workflow_conclusion: + path: artifact - name: Display structure of downloaded files run: ls -R - working-directory: artifacts \ No newline at end of file + working-directory: artifact \ No newline at end of file diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index b52bc4fffb..59c2122ae7 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -242,30 +242,6 @@ jobs: ls -laR ${{ matrix.config.archiver }} ../${{ matrix.config.artifact }} . ../test* - - name: create sample file - run: touch artifacts - working-directory: ./ - - - name: 'Upload sample' - if: always() - uses: actions/upload-artifact@v1 - with: - path: ./artifacts - name: artifacts - - - name: create artifact directory - run: mkdir artifact - working-directory: ./ - - - name: 'download artifact' - uses: actions/download-artifact@v3 - with: - path: artifact - - - name: Display structure of downloaded files - run: ls -R - working-directory: artifact - - name: '📤 Upload artifact' if: always() uses: actions/upload-artifact@v1 @@ -569,3 +545,21 @@ jobs: with: path: ./${{ matrix.config.artifact }} name: ${{ matrix.config.artifact }} + + Download-artifact: + runs-on: ubuntu-latest + name: download artifact + steps: + + - name: create artifact directory + run: mkdir artifact + working-directory: ./ + + - name: 'download artifact' + uses: actions/download-artifact@v3 + with: + path: artifact + + - name: Display structure of downloaded files + run: ls -R + working-directory: artifact From cc8b61d23439c460944c9cad9020bc49460d227a Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Tue, 17 Oct 2023 20:36:48 +0100 Subject: [PATCH 18/31] run-success --- .github/workflows/attach-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 6d775cb168..d75b19a9fb 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -17,9 +17,10 @@ jobs: working-directory: ./ - uses: dawidd6/action-download-artifact@v2 + id: download-artifact with: workflow: build-uc2.yml - workflow_conclusion: + workflow_conclusion: success path: artifact - name: Display structure of downloaded files From 9d50927cbca78cfdd875bd07ab4682a927571bd0 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Wed, 18 Oct 2023 20:40:01 +0100 Subject: [PATCH 19/31] release --- .github/workflows/build-uc2.yml | 20 +------------ .github/workflows/release.yml | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index 59c2122ae7..d61247e8e2 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -544,22 +544,4 @@ jobs: uses: actions/upload-artifact@v1 with: path: ./${{ matrix.config.artifact }} - name: ${{ matrix.config.artifact }} - - Download-artifact: - runs-on: ubuntu-latest - name: download artifact - steps: - - - name: create artifact directory - run: mkdir artifact - working-directory: ./ - - - name: 'download artifact' - uses: actions/download-artifact@v3 - with: - path: artifact - - - name: Display structure of downloaded files - run: ls -R - working-directory: artifact + name: ${{ matrix.config.artifact }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..c236b6f3bf --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,51 @@ +on: + push: + tags: + - 'v*' + workflow_dispatch: + +name: Upload Release Assets + +jobs: + build: + name: Upload Release Assets + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - 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 }} + draft: false + prerelease: false + + - name: create artifacts directory + run: mkdir artifact + working-directory: ./ + + - uses: dawidd6/action-download-artifact@v2 + id: download-artifact + with: + workflow: build-uc2.yml + workflow_conclusion: success + path: artifact + + - name: Display structure of downloaded files + run: ls -R + working-directory: artifact + + + - name: Upload Release Assets + id: upload-release-assets + uses: dwenegar/upload-release-assets@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + release_id: ${{ steps.create_release.outputs.id }} + assets_path: artifact \ No newline at end of file From 8a71eac5cdabd30097e5285ea9f945e5a2c24aaf Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Wed, 18 Oct 2023 21:26:17 +0100 Subject: [PATCH 20/31] release --- .github/workflows/attach-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index d75b19a9fb..0ed9f7152d 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -23,6 +23,6 @@ jobs: workflow_conclusion: success path: artifact - - name: Display structure of downloaded files + - name: Display structure of all downloaded files run: ls -R working-directory: artifact \ No newline at end of file From 35029283cb904034081d0a2715d72ad871de8623 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Wed, 18 Oct 2023 21:58:54 +0100 Subject: [PATCH 21/31] release --- .github/workflows/attach-release.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/attach-release.yml diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml deleted file mode 100644 index 0ed9f7152d..0000000000 --- a/.github/workflows/attach-release.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Attach Release Artifacts - -on: - release: - types: - - released - workflow_dispatch: - -jobs: - download-artifacts: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: create artifacts directory - run: mkdir artifact - working-directory: ./ - - - uses: dawidd6/action-download-artifact@v2 - id: download-artifact - with: - workflow: build-uc2.yml - workflow_conclusion: success - path: artifact - - - name: Display structure of all downloaded files - run: ls -R - working-directory: artifact \ No newline at end of file From 9cbe2a149283681d4d095a7520566fc48793d2f6 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Thu, 19 Oct 2023 14:52:35 +0100 Subject: [PATCH 22/31] prelease --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c236b6f3bf..70f3b5edaa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} draft: false - prerelease: false + prerelease: true - name: create artifacts directory run: mkdir artifact From 7d3de2bea1ce50864adbf06ef0e8b4881dbb7af5 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Thu, 19 Oct 2023 21:33:16 +0100 Subject: [PATCH 23/31] release --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70f3b5edaa..37b620ed25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ on: push: tags: - - 'v*' + - 'rc*' workflow_dispatch: name: Upload Release Assets From 16f9730477bb3fd08b8ee1f9027a3a21b50677a4 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 07:24:24 +0100 Subject: [PATCH 24/31] prerelease --- .github/workflows/prerelease.yml | 51 ++++++++++++++++++++++++++++++++ .github/workflows/release.yml | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/prerelease.yml diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml new file mode 100644 index 0000000000..37b620ed25 --- /dev/null +++ b/.github/workflows/prerelease.yml @@ -0,0 +1,51 @@ +on: + push: + tags: + - 'rc*' + workflow_dispatch: + +name: Upload Release Assets + +jobs: + build: + name: Upload Release Assets + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - 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 }} + draft: false + prerelease: true + + - name: create artifacts directory + run: mkdir artifact + working-directory: ./ + + - uses: dawidd6/action-download-artifact@v2 + id: download-artifact + with: + workflow: build-uc2.yml + workflow_conclusion: success + path: artifact + + - name: Display structure of downloaded files + run: ls -R + working-directory: artifact + + + - name: Upload Release Assets + id: upload-release-assets + uses: dwenegar/upload-release-assets@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + release_id: ${{ steps.create_release.outputs.id }} + assets_path: artifact \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37b620ed25..70f3b5edaa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ on: push: tags: - - 'rc*' + - 'v*' workflow_dispatch: name: Upload Release Assets From dfb8e9bb3f3090056a7822e0b5332df3202bb13c Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 07:41:05 +0100 Subject: [PATCH 25/31] release --- .github/workflows/prerelease.yml | 51 -------------------------------- .github/workflows/release.yml | 2 +- 2 files changed, 1 insertion(+), 52 deletions(-) delete mode 100644 .github/workflows/prerelease.yml diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml deleted file mode 100644 index 37b620ed25..0000000000 --- a/.github/workflows/prerelease.yml +++ /dev/null @@ -1,51 +0,0 @@ -on: - push: - tags: - - 'rc*' - workflow_dispatch: - -name: Upload Release Assets - -jobs: - build: - name: Upload Release Assets - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - 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 }} - draft: false - prerelease: true - - - name: create artifacts directory - run: mkdir artifact - working-directory: ./ - - - uses: dawidd6/action-download-artifact@v2 - id: download-artifact - with: - workflow: build-uc2.yml - workflow_conclusion: success - path: artifact - - - name: Display structure of downloaded files - run: ls -R - working-directory: artifact - - - - name: Upload Release Assets - id: upload-release-assets - uses: dwenegar/upload-release-assets@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - release_id: ${{ steps.create_release.outputs.id }} - assets_path: artifact \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70f3b5edaa..37b620ed25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ on: push: tags: - - 'v*' + - 'rc*' workflow_dispatch: name: Upload Release Assets From f987da18754e977d59b902faf596b1826e4c2247 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 07:54:58 +0100 Subject: [PATCH 26/31] github token --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37b620ed25..ba4b22b960 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,8 +17,7 @@ jobs: - 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 }} From ce60d2539df010eaaf22bf78b092c3d7d9c8a7b3 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 08:27:09 +0100 Subject: [PATCH 27/31] token --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba4b22b960..37b620ed25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,8 @@ jobs: - 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 }} From d46729732dcd649179285cc28275e660ab47954f Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 10:21:39 +0100 Subject: [PATCH 28/31] pre-release --- .github/workflows/prerelease.yml | 51 ++++++++++++++++++++++++++++++++ .github/workflows/release.yml | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/prerelease.yml diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml new file mode 100644 index 0000000000..37b620ed25 --- /dev/null +++ b/.github/workflows/prerelease.yml @@ -0,0 +1,51 @@ +on: + push: + tags: + - 'rc*' + workflow_dispatch: + +name: Upload Release Assets + +jobs: + build: + name: Upload Release Assets + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - 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 }} + draft: false + prerelease: true + + - name: create artifacts directory + run: mkdir artifact + working-directory: ./ + + - uses: dawidd6/action-download-artifact@v2 + id: download-artifact + with: + workflow: build-uc2.yml + workflow_conclusion: success + path: artifact + + - name: Display structure of downloaded files + run: ls -R + working-directory: artifact + + + - name: Upload Release Assets + id: upload-release-assets + uses: dwenegar/upload-release-assets@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + release_id: ${{ steps.create_release.outputs.id }} + assets_path: artifact \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37b620ed25..70f3b5edaa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ on: push: tags: - - 'rc*' + - 'v*' workflow_dispatch: name: Upload Release Assets From 6afd867e4a6255faa7e127a52f866b69874f4087 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 10:40:54 +0100 Subject: [PATCH 29/31] Update --- .github/workflows/prerelease.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 37b620ed25..f2897e9d9a 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -4,7 +4,7 @@ on: - 'rc*' workflow_dispatch: -name: Upload Release Assets +name: Upload Prerelease Assets jobs: build: From fbbfb1e8001f1a1c8a49eb952abfdd7f94e529b8 Mon Sep 17 00:00:00 2001 From: Amarachi Omereife Date: Fri, 20 Oct 2023 23:06:34 +0100 Subject: [PATCH 30/31] prelease set --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 70f3b5edaa..c236b6f3bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} draft: false - prerelease: true + prerelease: false - name: create artifacts directory run: mkdir artifact From 612fb4e804a7d393029a88a936aa613f88588942 Mon Sep 17 00:00:00 2001 From: lazymio Date: Mon, 25 Dec 2023 20:59:56 +0800 Subject: [PATCH 31/31] Always create drafts --- .github/workflows/prerelease.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index f2897e9d9a..0fdc466477 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -22,7 +22,7 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - draft: false + draft: true prerelease: true - name: create artifacts directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c236b6f3bf..4aca9848df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - draft: false + draft: true prerelease: false - name: create artifacts directory