Skip to content

Commit

Permalink
ci: revert master-release
Browse files Browse the repository at this point in the history
  • Loading branch information
gordominossi committed Nov 6, 2022
1 parent 5e0bc3a commit c18e2e4
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/master-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
# Triggers the workflow on push events on the develop branch

push:
tags:
- '!auto-release*'
tags-ignore:
- 'auto-release*'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -24,9 +24,6 @@ jobs:
uses: actions/checkout@v2
- name: Build
run: tar -cvf NIDAS.tar .shrc --exclude-from=tar-exclude.txt *
- name: Build modules
id: build_modules
run: mkdir -p modules && cd modules && find . -maxdepth 1 -mindepth 1 -type d -exec tar -cvf {}.tar --exclude-from=../tar-exclude.txt {} \; -exec sh -c 'echo "##[set-output name=modules_list;]"$(echo modules/$@ | sed -e "s/\.\///g" | sed -e "s/\ /\.tar /g" | sed -e "s/$/\.tar/")' _ {} + && cd ..
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
Expand All @@ -36,5 +33,5 @@ jobs:
token: ${{ secrets.RELEASE_SECRET }}
prerelease: false
gzip: false
files: NIDAS.tar ${{ steps.build_modules.outputs.modules_list }}
files: NIDAS.tar
allow_override: true

0 comments on commit c18e2e4

Please sign in to comment.