Skip to content

Commit 58a0a89

Browse files
committed
Attempting to push releases via GH Actions
1 parent d9aab10 commit 58a0a89

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,22 @@ jobs:
6363
with:
6464
name: libraries-catalina-macos.tar.xz
6565
path: libraries-catalina-macos.tar.xz
66+
CreateRelease:
67+
needs: [macOS, Docker_Linux]
68+
runs-on: ubuntu-latest
69+
steps:
70+
- name: Download all artifacts
71+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
72+
uses: actions/download-artifact@v2
73+
with:
74+
path: releases
75+
- name: Verify Artifact Downloads
76+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
77+
run: ls -R
78+
- name: Publish Release
79+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
80+
uses: softprops/action-gh-release@v1
81+
with:
82+
files: releases/*/*.xz
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)