Skip to content

Commit

Permalink
ci: initial steps of release automation
Browse files Browse the repository at this point in the history
  • Loading branch information
xen0n committed Mar 14, 2024
1 parent a0b0497 commit ec5c229
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit ec5c229

Please sign in to comment.