changed form tag and corrected error handling #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
name: Create Release | |
jobs: | |
tests: | |
name: "Integration testing" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Build docker image" | |
run: docker build -t fbuedding/fiware-iot-agent-sdk-test -f ./test.Dockerfile . | |
- name: "Pull docker images" | |
run: | | |
docker pull fiware/iotagent-ul:latest | |
docker pull mongo:4.2 | |
docker pull fiware/orion:latest | |
- name: "Run tests" | |
run: docker compose run iot-agent-sdk-test | |
build: | |
permissions: write-all | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: false | |
#- uses: actions/checkout@v3 | |
#- name: Create a Release | |
# uses: elgohr/Github-Release-Action@v5 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# title: ${{github.ref_name}} | |
#- name: Latest tag | |
# # You may pin to the exact commit or the version. | |
# uses: EndBug/[email protected] | |
# with: | |
# # Name of the tag or branch to update | |
# ref: ${{ github.ref }} | |
# # Tag name | |
# #tag-name: # optional |