File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 13
13
- name : Set environment variables
14
14
run : |
15
15
# See: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
16
+ echo "ARCHIVE_PATH=${{ runner.temp }}/libraries-repository-engine_Linux_64bit.tar.gz" >> "$GITHUB_ENV"
16
17
echo "CHANGELOG_PATH=${{ runner.temp }}/CHANGELOG.md" >> "$GITHUB_ENV"
17
18
18
19
- name : Checkout repository
34
35
- name : Build project
35
36
run : task build
36
37
38
+ - name : Archive release binary
39
+ run : |
40
+ tar \
41
+ --create \
42
+ --add-file="./libraries-repository-engine" \
43
+ --add-file="./LICENSE.txt" \
44
+ --gzip \
45
+ --file="${{ env.ARCHIVE_PATH }}"
46
+
37
47
- name : Create changelog
38
48
uses : arduino/create-changelog@v1
39
49
with :
63
73
token : ${{ secrets.GITHUB_TOKEN }}
64
74
bodyFile : ${{ env.CHANGELOG_PATH }}
65
75
prerelease : ${{ steps.prerelease.outputs.is-pre }}
66
- artifacts : libraries-repository-engine
76
+ artifacts : ${{ env.ARCHIVE_PATH }}
You can’t perform that action at this time.
0 commit comments