Skip to content

Commit

Permalink
chore: GO111MODULE removed
Browse files Browse the repository at this point in the history
  • Loading branch information
pik4ez-canonical committed Nov 12, 2024
1 parent 024e125 commit 1cd5c13
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Golang setup
uses: actions/setup-go@v5
with:
go-version: '>=1.22.0'
go-version: ">=1.22.0"
# install oci-factory via golang and set path in environment
- name: Install oci-factory
run: |
Expand All @@ -65,10 +65,8 @@ jobs:
go install github.com/mikefarah/yq/[email protected]
echo "OCI_FACTORY=$(go env GOPATH)/bin/oci-factory" >> $GITHUB_ENV
echo "YQ=$(go env GOPATH)/bin/yq" >> $GITHUB_ENV
env:
GO111MODULE: "on"
- name: Set EOLs and version
# special case for hydra due to the canonical fork
# special case for hydra due to the canonical fork
run: |
echo EOL_STABLE=$(date -d "$(date +'%Y-%m-%d') +3 month" "+%Y-%m-%d") >> $GITHUB_ENV
echo IMAGE_VERSION_STABLE=$($YQ '.version | split(".").0' rockcraft.yaml) >> $GITHUB_ENV
Expand All @@ -77,4 +75,4 @@ jobs:
run: |
$OCI_FACTORY upload -y --release track=$IMAGE_VERSION_STABLE$IMAGE_CANONICAL-22.04,risks=stable,eol=$EOL_STABLE
env:
GITHUB_TOKEN: ${{ secrets.token }}
GITHUB_TOKEN: ${{ secrets.token }}

0 comments on commit 1cd5c13

Please sign in to comment.