Skip to content

Commit

Permalink
Updated release workflow to correct creation of tar file
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Munday committed May 12, 2022
1 parent d78c473 commit 51923df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get version
run: echo "VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
- name: Create checkout directory
run: mkdir slurm-mail
run: mkdir slurm-mail-${VERSION}
- name: Checkout
uses: actions/checkout@v3
with:
path: slurm-mail
- name: Get version
run: echo "VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
path: slurm-mail-${{env.VERSION}}
- name: Build
run: tar cvfz slurm-mail-${VERSION}.tar.gz --exclude .git* slurm-mail
run: tar cvfz slurm-mail-${VERSION}.tar.gz --exclude .git* slurm-mail-${VERSION}
- name: Check tar
run: tar tvfz slurm-mail-${VERSION}.tar.gz
- name: GH Release
Expand Down

0 comments on commit 51923df

Please sign in to comment.