Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Jan 13, 2020
1 parent 3dc2e53 commit 4f023ff
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/lona-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ jobs:
with:
output_folder: ${{ steps.lona.outputs.output_folder }}

- name: Pass variables to other actions
- name: Pass variables to other actions (1/2)
run: |
mkdir -p .artifact-path
echo "::set-output name=upload_url,::${{ steps.create_release.outputs.upload_url }}\n::set-output name=new_version,::${{ steps.tag_version.outputs.new_version }}\n" > .artifact-path/variables.txt
- uses: actions/upload-artifact@v1
- name: Pass variables to other actions (2/2)
uses: actions/upload-artifact@v1
with:
name: lona-variables
path: .artifact-path
Expand All @@ -78,12 +79,13 @@ jobs:
runs-on: macos-latest
needs: [build-documentation]
steps:
- name: Get variables from build-documentation
- name: Get variables from build-documentation (1/2)
uses: actions/download-artifact@v1
with:
name: lona-variables
path: .artifact-path
- run: |
- name: Get variables from build-documentation (2/2)
run: |
cat .artifact-path/variables.txt
id: variables

Expand Down Expand Up @@ -116,12 +118,13 @@ jobs:
runs-on: ubuntu-latest
needs: [build-documentation]
steps:
- name: Get variables from build-documentation
- name: Get variables from build-documentation (1/2)
uses: actions/download-artifact@v1
with:
name: lona-variables
path: .artifact-path
- run: |
- name: Get variables from build-documentation (2/2)
run: |
cat .artifact-path/variables.txt
id: variables

Expand Down

0 comments on commit 4f023ff

Please sign in to comment.