Skip to content

Commit

Permalink
other combination of three jobs in sequence?
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaaks committed Feb 1, 2024
1 parent c8faabb commit 5deb5e5
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,7 @@ env:


jobs:
#no-args:
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v4
# - name: make contents of the repo unique
# run: |
# date +'%B %d, %Y %H:%M:%S %Z' > last-update.txt
# git config --global user.name 'jspaaks via CI'
# git config --global user.email '[email protected]'
# git add last-update.txt
# git commit -m "bumped last update date"
# git push
# - name: Test without any input arguments / creating a draft in a new concept
# uses: zenodraft/action@dbg
# with:
# verbose: true


in-concept:
#needs: no-args
no-args:
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -43,16 +23,37 @@ jobs:
git add last-update.txt
git commit -m "bumped last update date"
git push
- name: Test creating a draft in an existing concept
- name: Test without any input arguments / creating a draft in a new concept
uses: zenodraft/action@dbg
with:
concept: '23750'
metadata: .github/.zenodo-in-concept.json
verbose: true


#in-concept:
# #needs: no-args
# runs-on: ubuntu-latest
# steps:
# - name: checkout
# uses: actions/checkout@v4
# - name: make contents of the repo unique
# run: |
# git config --global user.name 'jspaaks via CI'
# git config --global user.email '[email protected]'
# git pull
# date +'%B %d, %Y %H:%M:%S %Z' > last-update.txt
# git add last-update.txt
# git commit -m "bumped last update date"
# git push
# - name: Test creating a draft in an existing concept
# uses: zenodraft/action@dbg
# with:
# concept: '23750'
# metadata: .github/.zenodo-in-concept.json
# verbose: true


with-filenames:
needs: in-concept
needs: no-args
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down

0 comments on commit 5deb5e5

Please sign in to comment.