Skip to content

Commit

Permalink
Release only tested stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
asl committed May 6, 2024
1 parent fed0342 commit 91eea08
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,18 @@ jobs:
cmake
--build $BUILD_DIR
-j16
-t package
-t package && mv ${{env.BUILD_DIR}}/${{env.PKG_MAC}}.tar.gz ${{env.BUILD_DIR}}/${{env.PKG_MAC}}-${{ matrix.arch }}.tar.gz
- name: 'πŸ—‚ Inspect directory before downloading artifacts'
run: >
ls -alFR ${{env.BUILD_DIR}/*.tar.gz
- name: 'πŸ“¦ Package'
uses: actions/upload-artifact@v4
with:
name: build-artifacts-mac-${{ matrix.arch }}
path: |
${{env.BUILD_DIR}}/${{env.PKG_MAC}}.tar.gz
${{env.BUILD_DIR}}/${{env.PKG_MAC}}-${{ matrix.arch }}.tar.gz
spades-1k-checks-mac:
name: '🚬 E. coli 1k smoke checks'
Expand Down Expand Up @@ -201,7 +205,7 @@ jobs:
- name: 'πŸ“¦ Unpack package'
working-directory: ${{env.INSTALL_DIR}}
run: >
tar -zxf ${{env.PKG_MAC}}.tar.gz
tar -zxf ${{env.PKG_MAC}}*.tar.gz
- name: '1k multi-cell'
run: >
Expand Down Expand Up @@ -231,14 +235,14 @@ jobs:
upload:
name: 'πŸ—‚ Create release and upload artifacts'
needs:
- build-linux
- build-mac
- spades-1k-checks-mac
- spades-1k-checks-linux
runs-on: ubuntu-20.04
steps:
- name: 'βš™οΈ Install dependencies'
run: sudo apt-get install -y libfuse2
- name: 'πŸ“₯ Download artifacts'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: 'πŸ—‚ Inspect directory after downloading artifacts'
run: ls -alFR
- name: 'πŸš€ Create release and upload artifacts'
Expand All @@ -247,4 +251,4 @@ jobs:
run: |
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
chmod +x pyuploadtool-x86_64.AppImage
./pyuploadtool-x86_64.AppImage ${{env.PKG_MAC}}.tar.gz ${{env.PKG_LINUX}}.tar.gz
./pyuploadtool-x86_64.AppImage **/${{env.PKG_MAC}}*.tar.gz **/${{env.PKG_LINUX}}*.tar.gz

0 comments on commit 91eea08

Please sign in to comment.