You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/lambda-runner-binaries-syncer.yml
+21-48Lines changed: 21 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -26,30 +26,6 @@ jobs:
26
26
run: yarn lint
27
27
- name: Build distribution
28
28
run: yarn build
29
-
- name: Dump GitHub context
30
-
env:
31
-
GITHUB_CONTEXT: ${{ toJson(github) }}
32
-
run: echo "$GITHUB_CONTEXT"
33
-
- name: Dump job context
34
-
env:
35
-
JOB_CONTEXT: ${{ toJson(job) }}
36
-
run: echo "$JOB_CONTEXT"
37
-
- name: Dump steps context
38
-
env:
39
-
STEPS_CONTEXT: ${{ toJson(steps) }}
40
-
run: echo "$STEPS_CONTEXT"
41
-
- name: Dump runner context
42
-
env:
43
-
RUNNER_CONTEXT: ${{ toJson(runner) }}
44
-
run: echo "$RUNNER_CONTEXT"
45
-
- name: Dump strategy context
46
-
env:
47
-
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
48
-
run: echo "$STRATEGY_CONTEXT"
49
-
- name: Dump matrix context
50
-
env:
51
-
MATRIX_CONTEXT: ${{ toJson(matrix) }}
52
-
run: echo "$MATRIX_CONTEXT"
53
29
- name: Upload distribution
54
30
# if: startsWith(github.ref, 'refs/tags/')
55
31
uses: actions/upload-artifact@v1
@@ -75,28 +51,25 @@ jobs:
75
51
path: dist
76
52
- name: Create zip
77
53
run: |
78
-
ls -la
79
54
apt update && apt install zip
80
-
cd dist
81
-
ls -la
82
-
zip -r ../${lambda_name}.zip .
83
-
# - name: Create Release
84
-
# id: create_release
85
-
# uses: actions/create-release@latest
86
-
# env:
87
-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
88
-
# with:
89
-
# tag_name: ${{ github.ref }}
90
-
# release_name: Release ${{ github.ref }}
91
-
# draft: true
92
-
# prerelease: true
93
-
# - name: Upload Release Asset
94
-
# id: upload-release-asset
95
-
# uses: actions/upload-release-asset@v1
96
-
# env:
97
-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98
-
# with:
99
-
# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
61
+
with:
62
+
tag_name: ${{ github.ref }}
63
+
release_name: Release ${{ github.ref }}
64
+
draft: true
65
+
prerelease: true
66
+
- name: Upload Release Asset
67
+
id: upload-release-asset
68
+
uses: actions/upload-release-asset@v1
69
+
env:
70
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71
+
with:
72
+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
0 commit comments