Skip to content

Commit

Permalink
Move GitHub Actions to GNAT Community 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
reznikmm authored and raph-amiard committed Jun 15, 2021
1 parent a24d464 commit c02d3c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,15 @@ jobs:
- uses: actions/cache@v2
with:
path: ./cached_gnat
key: ${{ runner.os }}-gnat-ce-2020
key: ${{ runner.os }}-gnat-ce-2021
- name: Get GNAT Community 2021 toolchain
if: ${{ runner.os != 'macOS' }}
uses: ada-actions/toolchain@ce2021
with:
distrib: community
install_dir: ./cached_gnat
- name: Get GNAT Community 2020 toolchain
if: ${{ runner.os == 'macOS' }}
uses: ada-actions/toolchain@ce2020
with:
distrib: community
Expand All @@ -83,6 +90,7 @@ jobs:
name: ${{ runner.os }}-${{ matrix.debug }}
path: '*.tar.gz'
- name: AWS S3 upload
if: ${{ github.repository == 'AdaCore/libadalang' }}
env:
AWS_ACCESS_KEY_ID: ${{secrets.GHA_CACHE_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.GHA_CACHE_SECRET}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ jobs:
- uses: actions/cache@v2
with:
path: ./cached_gnat
key: ${{ runner.os }}-gnat-ce-2020
- name: Get GNAT Community 2020 toolchain
uses: ada-actions/toolchain@ce2020
key: ${{ runner.os }}-gnat-ce-2021
- name: Get GNAT Community 2021 toolchain
uses: ada-actions/toolchain@ce2021
with:
distrib: community
install_dir: ./cached_gnat
Expand Down

0 comments on commit c02d3c2

Please sign in to comment.