Skip to content

Commit

Permalink
ci: Upload to twinpack
Browse files Browse the repository at this point in the history
  • Loading branch information
densogiaichned committed Jan 19, 2024
1 parent fc5ad97 commit 79c28b5
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI/CD
on:
push:
branches:
Expand Down Expand Up @@ -26,9 +26,28 @@ jobs:
username: ${{ secrets.ACTIONS_ZGWK_USERNAME }}
password: ${{ secrets.ACTIONS_ZGWK_PASSWORD }}
- name: Upload *.library
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rplc
path: |
**/*.compiled-library
**/*.library
**/*.library
cd:
name: CD
needs: ci
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v4
id: download-rplc
with:
name: rplc

- uses: Zeugwerk/[email protected]
with:
username: ${{ secrets.ACTIONS_ZGWK_USERNAME }}
password: ${{ secrets.ACTIONS_ZGWK_PASSWORD }}
path: ${{ steps.download-rplc.outputs.download-path}}

0 comments on commit 79c28b5

Please sign in to comment.