Skip to content

Commit

Permalink
v4; initial upload job
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed May 7, 2024
1 parent 5a6394e commit 4efb765
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,28 @@ jobs:
du -sh ${{ env.ESMF_DIR }}.tar.gz
- name: Upload ESMF dir as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: esmf-${{ matrix.esmf_version }}-gcc-${{ matrix.gcc_major_version }}-mpiuni
path: ${{ env.ESMF_DIR }}.tar.gz

release:
name: Release
runs-on: ubuntu-22.04
needs: build
if: startsWith(github.ref, 'refs/tags/v')

steps:
- name: Download ESMF dir artifacts
uses: actions/download-artifact@v4
with:
name:

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: esmf-*.tar.gz
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit 4efb765

Please sign in to comment.