mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
add lib/ to release artifacts, release job should only run on master
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -230,6 +230,7 @@ jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-msvc, build-linux, build-mac]
|
||||
if: github.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -256,6 +257,9 @@ jobs:
|
||||
})
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
- run: cp -r lib/ windows
|
||||
- run: cp -r lib/ linux
|
||||
- run: cp -r lib/ macos
|
||||
- run: zip -r windows.zip windows
|
||||
- run: tar czf linux.tar.gz linux
|
||||
- run: zip -r macos.zip macos
|
||||
|
||||
Reference in New Issue
Block a user