99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v2
12- - name : Determine package version
13- run : |
14- PHARUS_VERSION=$(cat pharus/version.py | tail -1 | awk -F\' '{print $2}')
15- echo "PHARUS_VERSION=${PHARUS_VERSION}" >> $GITHUB_ENV
1612 - name : Get changelog entry
1713 id : changelog_reader
1814 uses : guzman-raphael/changelog-reader-action@v5
@@ -120,15 +116,6 @@ jobs:
120116 run : |
121117 PHARUS_VERSION=$(cat pharus/version.py | tail -1 | awk -F\' '{print $2}')
122118 echo "PHARUS_VERSION=${PHARUS_VERSION}" >> $GITHUB_ENV
123- - name : Fetch image artifact
124- uses : actions/download-artifact@v2
125- with :
126- name : image-pharus-${{env.PHARUS_VERSION}}-py3.8-alpine
127- - name : Fetch pip artifacts
128- uses : actions/download-artifact@v2
129- with :
130- name : pip-pharus-${{env.PHARUS_VERSION}}
131- path : dist
132119 - name : Get changelog entry
133120 id : changelog_reader
134121 uses : guzman-raphael/changelog-reader-action@v5
@@ -146,6 +133,15 @@ jobs:
146133 body : ${{steps.changelog_reader.outputs.changes}}
147134 prerelease : ${{steps.changelog_reader.outputs.status == 'prereleased'}}
148135 draft : ${{steps.changelog_reader.outputs.status == 'unreleased'}}
136+ - name : Fetch image artifact
137+ uses : actions/download-artifact@v2
138+ with :
139+ name : image-pharus-${{env.PHARUS_VERSION}}-py3.8-alpine
140+ - name : Fetch pip artifacts
141+ uses : actions/download-artifact@v2
142+ with :
143+ name : pip-pharus-${{env.PHARUS_VERSION}}
144+ path : dist
149145 - name : Publish pip release
150146 run : |
151147 export HOST_UID=$(id -u)
0 commit comments