-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
other combination of three jobs in sequence?
- Loading branch information
Showing
1 changed file
with
26 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|