diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index a555f61..9271dc4 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -26,6 +26,8 @@ jobs: name: Linux ${{ matrix.arch }} runs-on: ${{ matrix.runs_on }} + outputs: + run_id: ${{ github.run_id }} container: image: ghcr.io/ruyisdk/ruyi-python-dist:20240311 options: --user root # https://github.com/actions/checkout/issues/1014 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..216e7df --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,21 @@ +name: Release + +on: + push: + paths: + - test.release + pull_request: + paths: + - test.release + +jobs: + release: + name: Make a GitHub Release + runs-on: ubuntu-latest + needs: + - dist + steps: + - uses: actions/download-artifact@v4 + with: + run-id: ${{ needs.dist.outputs.run_id }} + - run: 'pwd && ls -alFR'