-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43673b4
commit 04e063a
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,7 @@ jobs: | |
run: yum install -y tar gzip | ||
|
||
- name: Checkout Code | ||
continue-on-error: true | ||
uses: actions/checkout@v4 # Checks out the repository under $GITHUB_WORKSPACE. | ||
uses: actions/[email protected] # Checks out the repository under $GITHUB_WORKSPACE. | ||
|
||
- name: Install conda | ||
run: | | ||
|
@@ -33,7 +32,6 @@ jobs: | |
conda info -a | ||
- name: Create conda environment | ||
continue-on-error: true | ||
run : | | ||
export PATH=$HOME/miniconda/bin:$PATH | ||
conda create -n test-env python=3.10 > /dev/null | ||
|
@@ -43,7 +41,7 @@ jobs: | |
conda list | ||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
uses: aws-actions/configure-aws-credentials@v3.0.2 | ||
with: | ||
role-to-assume: arn:aws:iam::081569964966:role/github_cicd | ||
aws-region: eu-west-1 | ||
|
@@ -52,5 +50,5 @@ jobs: | |
run: | | ||
# Example of creating a tar.gz archive and uploading it | ||
echo "Uploading artifact to S3" | ||
# tar -czvf artifact.tar.gz /path/to/your/files | ||
# aws s3 cp artifact.tar.gz s3://YOUR_S3_BUCKET_NAME/path/to/upload/ | ||
# tar -czvf artifact.tar.gz /path/to/your/files | ||
# aws s3 cp artifact.tar.gz s3://YOUR_S3_BUCKET_NAME/path/to/upload/ |