File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1818 - dev
1919 inputs :
2020 deploy :
21- description : ' Do you want DEPLOYMENT as well ?'
21+ description : ' Do you want DEPLOYMENT onto the download page ?'
2222 required : false
2323 default : ' false'
2424
3535 run : |
3636 echo "Running builder at `pwd` as `whoami`@`hostname` on `uname -a`"
3737 echo "--- GIT INFO ---"
38- bash build/show-git-info || true
38+ bash build/show-git-info | tee /tmp/show-git-info || true
39+ echo "--- Creating faked TRAVIS-compatible variables ---"
40+ echo "TRAVIS=true" >> $GITHUB_ENV
41+ echo "TRAVIS_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
42+ echo "TRAVIS_COMMIT=$GITHUB_SHA" >> $GITHUB_ENV
43+ echo "TRAVIS_JOB_WEB_URL=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> $GITHUB_ENV
44+ echo "TRAVIS_OS_NAME=$(uname | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
45+ echo "TRAVIS_PULL_REQUEST=${{ github.event.pull_request.number || 'false' }}" >> $GITHUB_ENV
46+ echo "TRAVIS_REPO_SLUG=${{ github.repository }}" >> $GITHUB_ENV
47+ echo "--- Result ---"
48+ cat $GITHUB_ENV
3949 echo "--- CURRENT DIRECTORY ---"
4050 pwd
4151 ls -la
@@ -92,6 +102,10 @@ jobs:
92102 - name : List of result binaries for Linux (native target)
93103 run : ls -l build/bin/*.native
94104
105+ - name : Creating DEB distribution
106+ if : env.should_deploy == 'true'
107+ run : make RELEASE=yes OFFICIALBUILD=yes deb
108+
95109 - name : Installing Windows SDL2 cross-development components
96110 run : build/install-cross-win-mingw-sdl-on-linux.sh /usr/bin
97111
You can’t perform that action at this time.
0 commit comments