Remove modify-apt-sources.sh #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: entrypoint / test | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/entrypoint--test.yaml | |
- entrypoint.sh | |
- entrypoint.d/** | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/entrypoint--test.yaml | |
- entrypoint.sh | |
- entrypoint.d/** | |
jobs: | |
modify-apt-sources-aws-jammy-x86_64: | |
runs-on: ubuntu-22.04 # jammy | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- run: sudo bash entrypoint.d/modify-apt-sources-aws-jammy-x86_64.sh us-east-1 | |
- run: sudo apt-get update | |
modify-apt-sources-aws-jammy-aarch64: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 | |
# Test the script with qemu, because GitHub Actions does not support Arm for now | |
- run: | | |
docker run --rm -q --platform linux/arm64 \ | |
-v "$GITHUB_WORKSPACE:$GITHUB_WORKSPACE:ro" -w "$GITHUB_WORKSPACE" \ | |
ubuntu:jammy bash -eu -c "$script" | |
env: | |
script: | | |
bash entrypoint.d/modify-apt-sources-aws-jammy-aarch64.sh us-east-1a | |
apt-get update |