Skip to content

Commit

Permalink
Update continuous_integration.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrobodas authored Mar 16, 2024
1 parent 60a166b commit 2e9bbe4
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,31 +51,25 @@ jobs:
gunzip ${OUTPATH}
cd driver/data/outputs
ls -lh
- id: google-token
uses: playeveryware/action-google-access-token@v1
with:
credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}
scope: 'https://www.googleapis.com/auth/drive.readonly'
- name: Show (masked) token
run: |
echo "Masked token ${{ steps.google-token.outputs.token }}"
# - name: Acquire Google access token
# id: google-access-token
# - id: google-token
# uses: playeveryware/action-google-access-token@v1
# with:
# credentials: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIALS }}
# scope: 'https://www.googleapis.com/auth/drive.readonly'
- name: Download file
uses: playeveryware/action-google-drive-download@v1
with:
token: ${{ steps.google-access-token.outputs.token }}
file-id: 11dKcIL3EQr7s6jbo4f9GsoW0SufesGbq
path: driver/data/outputs/kgo2.nc.gz
# - name: Show (masked) token
# run: |
# echo "Masked token ${{ steps.google-token.outputs.token }}"
# - name: Download file
# uses: playeveryware/action-google-drive-download@v1
# with:
# token: ${{ steps.google-access-token.outputs.token }}
# file-id: 11dKcIL3EQr7s6jbo4f9GsoW0SufesGbq
# path: driver/data/outputs/kgo2.nc.gz
- name: Unzip and list downloaded files
run: |
cd ${GITHUB_WORKSPACE}
gunzip driver/data/outputs/kgo1.nc.gz
gunzip driver/data/outputs/kgo2.nc.gz
gunzip cosp2_output.um_global.ifx.kgo.v002.nc.gz
ls -lh driver/data/outputs
- name: Test python environment
run: |
Expand Down

0 comments on commit 2e9bbe4

Please sign in to comment.