kopia lustrzana https://github.com/inkstitch/inkstitch
replace set-env with GITHUB_ENV
rodzic
d90e58ac57
commit
29c235fd1a
|
@ -147,7 +147,7 @@ jobs:
|
||||||
# for msgfmt
|
# for msgfmt
|
||||||
echo "/usr/local/opt/gettext/bin" >> $GITHUB_PATH
|
echo "/usr/local/opt/gettext/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
echo "::set-env name=GI_TYPELIB_PATH::/usr/local/lib/girepository-1.0/"
|
echo "GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0/" >> $GITHUB_ENV
|
||||||
|
|
||||||
pip --version
|
pip --version
|
||||||
pip install PyGObject
|
pip install PyGObject
|
||||||
|
@ -179,29 +179,29 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9.]+$ ]]; then
|
if [[ "${GITHUB_REF}" =~ ^refs/tags/v[0-9.]+$ ]]; then
|
||||||
tag="${GITHUB_REF#refs/tags/}"
|
tag="${GITHUB_REF#refs/tags/}"
|
||||||
echo "::set-env name=release_tag::${tag}"
|
echo "release_tag=${tag}" >> $GITHUB_ENV
|
||||||
echo "::set-env name=prerelease::false"
|
echo "prerelease=false" >> $GITHUB_ENV
|
||||||
echo "::set-env name=title::${tag}"
|
echo "title=${tag}" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
branch="${GITHUB_REF#refs/heads/}"
|
branch="${GITHUB_REF#refs/heads/}"
|
||||||
tag="dev-build-$(echo $branch | tr / -)"
|
tag="dev-build-$(echo $branch | tr / -)"
|
||||||
echo "::set-env name=release_tag::${tag}"
|
echo "release_tag=${tag}" >> $GITHUB_ENV
|
||||||
echo "::set-env name=prerelease::true"
|
echo "prerelease=true" >> $GITHUB_ENV
|
||||||
echo "::set-env name=title::development build of $branch"
|
echo "title=development build of $branch" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- name: download linux
|
- name: download linux
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: 'inkstitch-linux'
|
name: 'inkstitch-linux'
|
||||||
path: 'artifacts/'
|
path: 'artifacts/'
|
||||||
- name: download windows
|
- name: download windows
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: 'inkstitch-windows'
|
name: 'inkstitch-windows'
|
||||||
path: 'artifacts/'
|
path: 'artifacts/'
|
||||||
if: always()
|
if: always()
|
||||||
- name: download mac
|
- name: download mac
|
||||||
uses: actions/download-artifact@v1
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: 'inkstitch-mac'
|
name: 'inkstitch-mac'
|
||||||
path: 'artifacts/'
|
path: 'artifacts/'
|
||||||
|
|
Ładowanie…
Reference in New Issue