Skip to content

Commit

Permalink
Maintenance
Browse files Browse the repository at this point in the history
fixing GitHub actions issues
  • Loading branch information
Shchvova committed Nov 17, 2020
1 parent b57b80a commit aaa2625
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
needs:
- Xcode-template-matrix
- Xcode-template-matrix-old
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/download-artifact@v2
- name: Collect templates together
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
linux:
needs:
- source-code
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
container:
image: coronalabs/linux_builder_rpi
steps:
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:

CoronaCards-Android:
needs: native
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Get Native
Expand Down Expand Up @@ -439,7 +439,7 @@ jobs:

release:
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs:
- Windows-Simulator
- macOS-Simulator
Expand Down Expand Up @@ -468,10 +468,9 @@ jobs:
For Linux builds see [Solar2DTux](https://solar2dtux.com/).
'
fi
GIT_LOG="${GIT_LOG//'%'/'%25'}"
GIT_LOG="${GIT_LOG//$'\n'/'%0A'}"
GIT_LOG="${GIT_LOG//$'\r'/'%0D'}"
echo "::set-env name=GIT_LOG::$GIT_LOG"
echo 'GIT_LOG<<EOF' >> $GITHUB_ENV
echo "$GIT_LOG" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
echo "$GIT_LOG"
- uses: actions/download-artifact@v1
with:
Expand Down Expand Up @@ -548,11 +547,11 @@ jobs:

notify-chats:
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs:
- release
steps:
- run: echo ::set-env name=BUILD::"${GITHUB_REF#refs/tags/}"
- run: echo "BUILD=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Notify slack Builds channel
run: |
[ -z "$SLACK_BOT_TOKEN" ] && exit 0
Expand Down Expand Up @@ -598,7 +597,7 @@ jobs:
- notarize
- release
- source-code
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: always() && (!contains(github.ref, 'refs/tags/') || github.repository == 'coronalabs/corona')
steps:
- uses: technote-space/workflow-conclusion-action@v1
Expand Down

0 comments on commit aaa2625

Please sign in to comment.