mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 06:05:44 -04:00
action for generating release tarballs
This commit is contained in:
parent
ef195be0b2
commit
252807be2c
1 changed files with 33 additions and 0 deletions
33
.github/workflows/nwchem_releasetar.yaml
vendored
Normal file
33
.github/workflows/nwchem_releasetar.yaml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: NWChem_Release_Tar
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- .gitlab-ci.yml
|
||||
repository_dispatch:
|
||||
types: [backend_automation]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
do_tar:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: install pkg
|
||||
run: |
|
||||
sudo apt-get install -y curl make perl bash bzip2 tar gzip
|
||||
- name: grab script
|
||||
run: |
|
||||
curl -LJO https://raw.githubusercontent.com/$GITHUB_REPOSITORY_OWNER/nwchem/$GITHUB_REF_NAME/contrib/git.nwchem/dotar_release.sh
|
||||
chmod +x ./dotar_release.sh
|
||||
- name: run script
|
||||
run: |
|
||||
./dotar_release.sh
|
||||
ls -Rlrt
|
||||
- name: generate tempdir name
|
||||
run: |
|
||||
echo "tmpdir_name=temp.$(date +%Y%m%d)" >> $GITHUB_ENV
|
||||
ls -Rlrt ${{ env.tmpdir_name }}
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: nwchem-tarball
|
||||
path: ${{ env.tmpdir_name }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue