Skip to content

Commit

Permalink
Move artifact upload to Build job, in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wallabra committed Apr 25, 2021
1 parent b8d32eb commit f2690bc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:

- name: Package ZetaBot
run: ./build

- name: Upload as artifact
uses: actions/upload-artifact@v2
with:
name: ZetaBot_v${{ env.VERSION }}.pk3
path: Built/ZetaBot_v${{ env.VERSION }}.pk3

release:
name: Release
Expand All @@ -32,11 +38,10 @@ jobs:
source ./version.sh
echo "VERSION=$VERSION" >>$GITHUB_ENV
- name: Upload artifact
uses: actions/upload-artifact@v2
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: ZetaBot_v${{ env.VERSION }}.pk3
path: Built/ZetaBot_v${{ env.VERSION }}.pk3

- name: Create release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit f2690bc

Please sign in to comment.