18
18
build :
19
19
name : Building a release and version file
20
20
runs-on : ubuntu-20.04
21
- permissions :
22
- contents : write
23
21
steps :
24
22
- uses : actions/checkout@v4
25
23
- name : Setup BEAM
@@ -30,11 +28,11 @@ jobs:
30
28
31
29
- name : Update project mix version
32
30
run : |
33
- sed -i "s/.*version:.*/ version: \"10.10.10 \",/" mix.exs
31
+ sed -i "s/.*version:.*/ version: \"10.10.11 \",/" mix.exs
34
32
35
33
- name : Create Release file version
36
34
run : |
37
- echo "{\"version\":\"10.10.10 \",\"hash\":\"${GITHUB_SHA}\"}" | jq > current.json
35
+ echo "{\"version\":\"10.10.11 \",\"hash\":\"${GITHUB_SHA}\"}" | jq > current.json
38
36
39
37
- name : Install Elixir dependencies
40
38
run : mix do deps.get, compile
49
47
uses : actions/upload-artifact@v4
50
48
with :
51
49
name : release-file
52
- path : _build/prod/calori-10.10.10 .tar.gz
50
+ path : _build/prod/calori-10.10.11 .tar.gz
53
51
retention-days : 5
54
52
55
53
- name : ' Upload version file artifact'
82
80
# aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
83
81
# aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
84
82
# aws_region: "sa-east-1"
85
- # source: "calori-10.10.10 .tar.gz"
86
- # dest: "s3://calori-${{ secrets.CLOUD_ENV_NAME }}-distribution/dist/calori/calori-10.10.10 .tar.gz"
83
+ # source: "calori-10.10.11 .tar.gz"
84
+ # dest: "s3://calori-${{ secrets.CLOUD_ENV_NAME }}-distribution/dist/calori/calori-10.10.11 .tar.gz"
87
85
88
86
# - name: Copy a version file to the s3 version folder
89
87
# uses: prewk/s3-cp-action@v2
@@ -121,7 +119,7 @@ jobs:
121
119
- id : ' upload-release-file'
122
120
uses : ' google-github-actions/upload-cloud-storage@v2'
123
121
with :
124
- path : ' calori-10.10.10 .tar.gz'
122
+ path : ' calori-10.10.11 .tar.gz'
125
123
destination : " calori-${{ secrets.CLOUD_ENV_NAME }}-distribution/dist/calori"
126
124
process_gcloudignore : false
127
125
0 commit comments