combine to one job with two steps
diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml
index eb0d979..81ece6b 100644
--- a/.github/workflows/nightlies.yml
+++ b/.github/workflows/nightlies.yml
@@ -1,11 +1,12 @@
on: push
jobs:
- md_to_html:
+ upload_to_nightlies:
runs-on: ubuntu-18.04
env:
INFILE: ghactions-publishing.md
OUTFILE: ghactions-publishing.html
steps:
+ - name: md_to_html
- uses: actions/checkout@master
- uses: docker://pandoc/core:2.9
with:
@@ -13,13 +14,7 @@
--standalone
--output=${{ env.OUTFILE }}
${{ env.INFILE }}
- - run: echo OUTFILE=${{ env.OUTFILE }} >> $GITHUB_ENV
- curl:
- runs-on: ubuntu-latest
- needs: md_to_html
- steps:
- - run: echo ${{ env.OUTFILE }}
- - uses: actions/checkout@master
+ run: echo OUTPUT=${{ env.OUTFILE }} >> $GITHUB_ENV
- name: curl
uses: wei/curl@v1
with: