Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4506126207 | |||
| 6de1c7ae49 | |||
| de1b81a30a | |||
| 61a978d261 | |||
| 3cb2c0f93b | |||
| e02d70a4e3 | |||
| 73b4a0753a | |||
| aff0f4398b | |||
| 42a1761ba2 | |||
| 12e73a1efa |
@@ -8,7 +8,7 @@ jobs:
|
||||
draft-release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
+10
-2
@@ -14,9 +14,13 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Archive artifact
|
||||
shell: bash
|
||||
shell: sh
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
for f in $(chmod -c -R +r . | awk '{print substr($3, 2, length($3)-2)}')
|
||||
do
|
||||
echo "::warning::Added read permission to $f"
|
||||
done
|
||||
tar \
|
||||
--dereference --hard-dereference \
|
||||
--directory "$INPUT_PATH" \
|
||||
@@ -29,9 +33,13 @@ runs:
|
||||
|
||||
# Switch to gtar (GNU tar instead of bsdtar which is the default in the MacOS runners so we can use --hard-dereference)
|
||||
- name: Archive artifact
|
||||
shell: bash
|
||||
shell: sh
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
for f in $(chmod -v -R +r .)
|
||||
do
|
||||
echo "::warning::Added read permission to $f"
|
||||
done
|
||||
gtar \
|
||||
--dereference --hard-dereference \
|
||||
--directory "$INPUT_PATH" \
|
||||
|
||||
Reference in New Issue
Block a user