Skip to content

Commit

Permalink
replaced machulav with esteve
Browse files Browse the repository at this point in the history
  • Loading branch information
hvgazula committed Feb 14, 2024
1 parent 69e4081 commit 3cfecff
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/aws_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: aws_test
on: workflow_dispatch
on: push

jobs:
start-runner:
Expand All @@ -17,14 +17,15 @@ jobs:
aws-region: ${{ vars.AWS_REGION }}
- name: Start EC2 runner
id: start-ec2-runner
uses: machulav/ec2-github-runner@v2
uses: esteve/ec2-github-runner@Optionally-execute-runner-as-a-service
with:
mode: start
github-token: ${{ secrets.GH_TOKEN }}
ec2-image-id: ${{ vars.AWS_IMAGE_ID }}
ec2-instance-type: ${{ vars.AWS_INSTANCE_TYPE }}
subnet-id: ${{ vars.AWS_SUBNET }}
security-group-id: ${{ vars.AWS_SECURITY_GROUP }}
run-runner-as-user: ubuntu
aws-resource-tags: > # optional, requires additional permissions
[
{"Key": "Name", "Value": "ec2-github-runner"},
Expand All @@ -37,18 +38,23 @@ jobs:
runs-on: ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
steps:
- name: Set $HOME
run: echo "HOME=${{ github.workspace }}" >> $GITHUB_ENV
run: |
echo "HOME=${{ github.workspace }}" >> $GITHUB_ENV
echo "PIP_ROOT_USER_ACTION=ignore" >> $GITHUB_ENV
- name: setting git credentials
run: |
git config --system user.name "hvgazula"
git config --system user.email "[email protected]"
# git config --global user.name "hvgazula"
# git config --global user.email "[email protected]"
echo $HOME
whoami
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install Datalad
uses: datalad/datalad-action/install@main
with:
Expand Down

0 comments on commit 3cfecff

Please sign in to comment.