Test 5
This commit is contained in:
parent
8f92dc4744
commit
24a51f5dca
23
.github/workflows/release.yaml
vendored
23
.github/workflows/release.yaml
vendored
@ -55,15 +55,38 @@ jobs:
|
||||
name: dist
|
||||
path: ./dist/
|
||||
|
||||
test-upload:
|
||||
name: Temp upload build artifacts
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Copy dist files
|
||||
run: cp -r dist_2/ dist/
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dist
|
||||
path: ./dist/
|
||||
|
||||
upload-assets:
|
||||
name: Upload release assets
|
||||
runs-on: ubuntu-latest
|
||||
needs: test-upload
|
||||
# if: github.event_name == "release"
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Download artifact
|
||||
id: download
|
||||
uses: actions/download-artifact@v2
|
||||
- name: Test
|
||||
run: |
|
||||
echo "${{ steps.download.outputs.download-path }}"
|
||||
echo "$(ls -l)"
|
||||
echo "$(ls -l dist)"
|
||||
- name: Get dist file names
|
||||
id: dist-names
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user